Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi,
I would like to know how should I present the visual with missing value.
I have 1 bar chart (show Number of Student in Class) and a card (show Total Number of Student Registered in the school).
However, there are missing values for the Class column. Thus, if I remove the missing value of the Class cloumn in the Transform Data page or exclude it in the Filter panel of Report view then it will display the Total Student in the Card and Total in the bar chart (adding the total of each bar) with different value.
What is the correct presentation without mislead the users?
Solved! Go to Solution.
Hi @alvin199 ,
Create a measure named like "count of students have class".
count of students have class = CALCULATE(COUNT('Table'[student]),FILTER('Table','Table'[class]<>BLANK()))
Best Regards,
Jay
Hi @alvin199 ,
Create a measure named like "count of students have class".
count of students have class = CALCULATE(COUNT('Table'[student]),FILTER('Table','Table'[class]<>BLANK()))
Best Regards,
Jay
Hi, here is the sample pbix file
https://drive.google.com/file/d/1omVSGJNxGTa_Y8L0OdaXi2rWr8EfROaX/view?usp=sharing
There is a missing value in Class cloumn. I have replace the Null to 0 in Transforme Data page.
If I include the class 0 (which suppose does not have class 0) then the Total number will be fine but visual is not make sense.
If I exclude the class 0 in the bar chart, the Total Number for both Card and Bar chart are differnet.
The data owner does not know what is the appropriate class for the misisng value due to some reason thus I put class 0 for the Null value as a flag.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 38 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 68 | |
| 66 | |
| 29 | |
| 26 | |
| 25 |