Skip to main content

Hi

 

I have this following set of data:

 

KeyCategoryCheck_Code1A11B22C12C13A13B23C3

 

My aim is to create a bar chart to list the count of distinct key, by category.

The complication comes in because for every unique key with different categories, it shld fall into just 1 category. Do determine which category it falls under (based on the lowest check_code for every unique key). So I should get something like this:

   

KeyCategoryCheck_CodeFinal Category1A1A1B2A2C1C2C1C3A1A3B2A3C3A

 

Eventually I hope to get a bar chart with this breakdown:

  

CategoryCount(Distinct(Key))A1B0C1

 

Appreciate if someone could assist please, thanks!

7 answers
0/9000