Forum Discussion
Top 5 non conformities with text data
- Anonymous1 year ago
Hi BenCha ,
(1) Select the 34 problem columns in Power query and click on Unpivot Columns.->Then add a conditional column.->Click on "close and apply"
(2) We can create measures.
Count_Non = COUNTROWS(FILTER('Table', 'Table'[Custom]="Non Conforme"))Rank = RANKX(SUMMARIZE(ALLSELECTED('Table'),[N°],"count",[Count_Non]),[Count_Non],[Count_Non],DESC,Dense)Flag = IF([Rank]<=5,1,0)(3) Place [Flag=1] on the visual object.
If I have misunderstood you, please clarify in a follow up reply with an example of your expected output.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi BenCha ,
(1) Select the 34 problem columns in Power query and click on Unpivot Columns.->Then add a conditional column.->Click on "close and apply"
(2) We can create measures.
Count_Non = COUNTROWS(FILTER('Table', 'Table'[Custom]="Non Conforme"))Rank = RANKX(SUMMARIZE(ALLSELECTED('Table'),[N°],"count",[Count_Non]),[Count_Non],[Count_Non],DESC,Dense)Flag = IF([Rank]<=5,1,0)
(3) Place [Flag=1] on the visual object.
If I have misunderstood you, please clarify in a follow up reply with an example of your expected output.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.