Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
smore
Helper I
Helper I

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.