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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Nolan79
New Member

0 Data - Translate this to 0 count on graph

Hi everyone! To start, I am very new at this and learning as I go, please understand I may not grasp your recommendation(s) right away!

 

The problem I currently face is I'm pulling data from several sources, running calculations, however, I have 0 values/data in 1 month, and the graph does not reflect this as a 0 count, but instead a null(missing). For further context, the 'Errors' is being "counted" by a value within that month group, however, again, there is nothing within that month. Here are the screenshots for understanding.

Nolan79_1-1692383129155.png

Nolan79_2-1692383548272.png

 

Thanks in advance everyone!

 

5 REPLIES 5
parry2k
Super User
Super User

@Nolan79 it is not as easy as you think, this blog/video will 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.

danextian
Super User
Super User

Hi @Nolan79 ,

 

It seems that you have used either COUNT or COUNT. Those functions exclude blank values. Instead, I'd use COUNTROWS( 'Table Name') to count for the rows if the goal is counting that number of rows within  a table regardless of the uniqueness of  values in a column.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Hey @danextian, thanks for the input. So, I believe the problem is that it is counting the amount of rows by Month. Therefore, the month of July is a missing value in the row and does not translate it into 0 on the visual. I'm not good at coding(DAX) whatsoever, but I did try to do some IF measures to see if I could get it to push out the value I'm looking for, no luck. Unfortunately, whether it is COUNT or COUNTROWS, it does not bring in the 0 count.

If you're using a separate dates table, you can write a measure that returns 0 if the actual value is blank.

Value2 =
IF ( ISBLANK ( SUM ( 'Fact'[Value] ) ), 0, SUM ( 'Fact'[Value] ) )

danextian_0-1692756294993.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Ritaf1983
Super User
Super User

Hi @Nolan79 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors