Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 11 | |
| 9 | |
| 8 |