Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
The requirement is to not to show a chart when the overall sum of stacked bar is less than 30. It should be showing a message like no data available. For example, rather than the two bars, it should show a message as the next image containing 'No Data'. Would appreciate any help. Thanks
Thanks for your response @Anonymous , I have tried this solution but it doesn’t seem to work.
I have a column ‘Happy’ with values Yes, No, No Data, Prefer not to share. There’s another column called Feedback with values Yes, No. I can't seem to attach PBIX file and unfortunately don't have permissions to share links. I have added all the pictures here. I need the charts to disappear when the total number values of values of Happy column is less than 30 ie Anytime a filter is selected/not selected if the sum of ( No + Yes + No Data + Prefer not to share) < 30, then the chart shouldn’t show bar chart but a status “No Data”. In the below picture I have selected K in county filter and the sum of the values 4 + 1+ 2 < 30 so need the chart to disappear. Please could you help.
My data looks like this:
This is one sample visual as I have 10 similar visual in my dashboard where the Happy Legend remains the same.
There @Anonymous ,
You can't just type "no data" so that the data type contains both text and numbers, so you can try to output blank if the total value is less than 30.
measure=var _1=sumx(all(table,table[value])
return
if(_<=30,blank(),max(table[value]))
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 85 | |
| 69 | |
| 38 | |
| 29 | |
| 27 |