cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
smore
Frequent Visitor

Filter Column by top percentage rank

'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."

1 ACCEPTED SOLUTION
1 REPLY 1

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.