Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
'Table'[Product]
'Table'[Size]
I have these columns as "Values" in a visualizations table. I am trying to filter by percentage of top size (largest to smallest).
Example Slicer Values: 5%, 10%, 20%, 30%
So, if I selected 5% the visualizations table would only show the top 5% largest products by size.
I created a calculated column [Size Ranked] = RANKX('Table',[Size]) which ranks by size.
I thought I could do something like Filter([Size Ranked] < COUNTROWS('Table')* 0.05)) but I get the error:
"The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value."
Solved! Go to Solution.
@smore , I think you need percentile with what if parameter
https://blog.enterprisedna.co/implementing-80-20-logic-in-your-power-bi-analysis/
https://forum.enterprisedna.co/t/testing-the-pareto-principle-80-20-rule-in-power-bi-w-dax/459
https://docs.microsoft.com/en-us/power-bi/desktop-what-if
@smore , I think you need percentile with what if parameter
https://blog.enterprisedna.co/implementing-80-20-logic-in-your-power-bi-analysis/
https://forum.enterprisedna.co/t/testing-the-pareto-principle-80-20-rule-in-power-bi-w-dax/459
https://docs.microsoft.com/en-us/power-bi/desktop-what-if
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |