Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hello there! I have a rather simple doubt, but I'm still learning.
I had a bunch of columns related to one person and I wanted to transform these columns into rows, so I pivotted the information and got something like this:
Person | KPI | Score |
John Doe | % of TGG completed | 63,3% |
John Doe | % of new users | 31,1% |
John Doe | % of points used | 77,0% |
For each KPI we have a specific score we want to show, for example, the first KPI should only be showed in the table if it's below 50%, the second one too, so it's showing correctly since it's 31,1%. For each KPI we have a specific value. How to filter the rows so only the values below what we want will show?
Thank you for the attention!
@Anonymous , Not very clear , Try a measure like this in place of score. Blank in else is important to remove rows. You can change conditions as per need
Switch( True(),
max(table[KPI]) = "% of TGG completed" && [Score] >= 50 , [Score],
max(table[KPI]) = "% of new users" && [Score] >= 50 , [Score],
max(table[KPI]) = "% of points used" && [Score] >= 50 , [Score],
blank())
Thank you for the response!
I did what you told me but it did not return the results as expected, in fact it kept giving errors. It gave me an idea though. Since I couldn't just hide the KPIs I don't want to appear I decided to create a column beside them showing the ones Below the Threshold.
User | Count |
---|---|
12 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
27 | |
19 | |
14 | |
11 | |
7 |