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 dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a boxplot with 3 boxes. The different boxes should only be displayed if they contain at least 10 values. I have used the formula below. However, this filtered the whole visual (all three boxes) if one of the boxes contained less than 10 data points. Is there a way to hide individual boxes if they do not contain the minimum number of 10 values?
The three boxes are divided according to work situation: professional, part-time, amateur.
Thank you for your help.
Solved! Go to Solution.
HI @Anonymous,
I'd like to suggest modify the measure formula to add some conditions with the if statement, you can use them to check the current value to block some calculations.
For these block blank values, they will auto-hide by power bi itself.
Regards,
Xiaoxin Sheng
HI @Anonymous,
I'd like to suggest modify the measure formula to add some conditions with the if statement, you can use them to check the current value to block some calculations.
For these block blank values, they will auto-hide by power bi itself.
Regards,
Xiaoxin Sheng
You can do that by adding a variable in your measure to count to total number of points in that box, and then using an IF in your return to return blank for each point if the overall count is too low.
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
User | Count |
---|---|
77 | |
75 | |
46 | |
31 | |
28 |
User | Count |
---|---|
99 | |
91 | |
51 | |
49 | |
46 |