Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Greetings,
I am working with data that requires all values under 50 be suppressed AND if there is only one value under 50 in a column that the next lowest is also suppressed. (see examples). Rankx is unimportant unless I need it to complete the suppression.
I am working with one table, we will call it 'Reports'.
I've tried using SWITCH statements, variables, etc. I can get close but not both at the same time. I am using a standard table to display information.
Thank you for any assistance!
What I have
Group Total Count Rankx
A 10 5
B 107 3
C 103 4
D 342 2
E 3,984 1
What I need
Group Total Count Rankx
A ** 5
B 107 3
C ** 4
D 342 2
E 3,984 1
Solved! Go to Solution.
Rank = RANKX(allselected('Table'),calculate(sum('Table'[Total Count])),,ASC)
Show = if([Rank]>2 || [Rank]=2 && minx(ALLSELECTED('Table'),[Total Count])>=50,1,0)
Thank you! That works great!
If the total count is a range, would it be this?
Show = if([Rank] > 2 || [Rank] = 2 && minx(ALLSELECTED('Table'), [Total Count]) > 1) && minx(ALLSELECTED('Table'), [Total Count]) <= 10, 1, 0)
Thank you again
RANKX is important, but you need to use it the other way round. Sort ascending by value. Suppress Rank 1, and if Value 1 is less than 50 then suppress Rank 2 as well.
That's the part I'm having issues with too.
Rank = RANKX(allselected('Table'),calculate(sum('Table'[Total Count])),,ASC)
Show = if([Rank]>2 || [Rank]=2 && minx(ALLSELECTED('Table'),[Total Count])>=50,1,0)
Thank you! That works great!
If the total count is a range, would it be this?
Show = if([Rank] > 2 || [Rank] = 2 && minx(ALLSELECTED('Table'), [Total Count]) > 1) && minx(ALLSELECTED('Table'), [Total Count]) <= 10, 1, 0)
Thank you again
Sure, but why? What if the minx is 1 ?
If 0 has be marked 0 and the range is between 1 and 10. It's a weird ask. Thanks!
then you must use >=1 , not >1
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
61 | |
61 | |
55 | |
38 | |
27 |
User | Count |
---|---|
85 | |
60 | |
45 | |
41 | |
39 |