Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi all,
I have a Power BI table constructed using data with complex relationships. It allows a comparison of counts of distinct user IDs based on two data sources, one of which has RLS based on the user logged in. The problem I am having is that when counts are low in the table (<5), I would like to be able to hide the values. If there is only one value hidden, I must also hide another value to prevent back-calculation of the first hidden value.
The outcomes have three possible values (Y (Yes), N (No), and Not answered). Thus, if the count of Yes is <5 (and the others are both above 5) I want to hide the next biggest count as well (or any blank). The tables are broken down and filtered, and both these functionalities are controlled by slicers. Add in the RLS and it's all a bit complicated and I am not particularly great at DAX. I would ideally like the suppressed values (blanks, <5 or additionally hidden values) to be replaced by 'SV' (to indicate suppressed/hidden values).
I have shared an example pbix file here: https://drive.google.com/drive/folders/1oHDGSgUSM6CxQMD3LauerE4G6lVVKWj8?usp=sharing
Any suggestions would be gratefully received,
Will
Hi,
You can create a filter measure to achieve this. E.g. Here I want to hide the "not answered"
Dax:
Now we can use this result to dynamically filter the results:
To hide the second biggest value we can expand this logic:
Now the answer with most answers will get value 1 and we use that to our advantage to show only that answer.
Proud to be a Super User!
Hi Valtteri,
Unfortunately, when I try to use RANKX in my example, it just keeps churning and eventually runs out of memory on my laptop.
Will
If anyone else comes across this post and has any ideas, I would love to hear them. Unfortunately, I haven't managed to make any progress 😕
Will
Going to delete my example pbix now. I haven't received a solution and don't want to leave it there for eternity. If anyone wants to have a go at this in future, please leave a reply.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
6 | |
4 | |
3 | |
3 |
User | Count |
---|---|
11 | |
11 | |
8 | |
8 | |
8 |