Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
dwel0120
Helper III
Helper III

Counting Null/Blank Values in Chart Also Using SUM

I am building a pie chart that I need to have the count of all rows. The data has 0, 1, and null. I have to use a sum of the data for each value I place in the pie chart because I only want to count the 1s, so I need the column to be a number and not text. 1 means they received services. As of right now, the total is not counting the null/blank cells. I need it to count the blank rows because that is still a person that needs to be counted. Is there a workaround? Am I missing something?

 

dwel0120_0-1609177983696.png

 

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@dwel0120 as  a matter of fact, Pie Chart is not very good visual and human brain is not good with angles, if there are 1-2 or maximum 3 categories, it is ok to use but that after that it is hard to understand the difference between different categories Anyhow, let us know if you still need further help.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @dwel0120 ,

 

What you mean "total is not counting the null/blank cells"? Can you show some sample data and expected result to us?

I used count id and the result showed as below.

5.PNG

 

Best Regards,

Jay

parry2k
Super User
Super User

@dwel0120 as  a matter of fact, Pie Chart is not very good visual and human brain is not good with angles, if there are 1-2 or maximum 3 categories, it is ok to use but that after that it is hard to understand the difference between different categories Anyhow, let us know if you still need further help.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

parry2k
Super User
Super User

@dwel0120  what function you are using currently to count the values?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

I think I need to scrap the pie chart. Basically I have one column made of 0, 1, nulls. The end goal is to show the total number of rows and then the total number of 1s only. 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.