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! Learn more

Reply
Anonymous
Not applicable

Include zero/blanks in column chart (frequency table)

I have a table with number of emails sent per case

 

Data sample

Case idNumber of sent emails
111113
22222null
333332
444441
555551

 

Result:

histogram.jpgProblem

As you can see am I missing a column for 0 E-mails sent (the column should be high with +50k in frequency). I have tried to replace the null data with zeroes without improvment. I can also not find any option "include blank data". How should i proceed?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I actually got I to work in my dummy-file and I then comparied the settings between those two. Apparently, the right solution is to have the following settings...

Axis: number_of_emails, with "Show items with no data"

Value: number_of_emails, with "Count"

Default Summarization: on "Don't summarize" (number_of_emails)

Data settings: Relplaced nulls with zeroes

 

What I missed was that when I change "default summarization", for some reson, count switched over to sum. And the sum of a lot of zeroes is zero, so thats why no data was showing.

 

Thank you a lot for your help @Tahreem24 

 

 

View solution in original post

7 REPLIES 7
Tahreem24
Super User
Super User

@Anonymous ,

 

RIght click on your axis in Field option under Visualization pane --> Select "Show item with no data". (Attched screen shot)

Capture.JPG

Don't forget to hit Thumbs up and accept this as a solution if you find it helpful! 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
Anonymous
Not applicable

It has a green check mark but the 0-bar is till empty.

 

histogram1.jpgNo-data.jpg

 

@Anonymous ,

 

You should be able to just add 0 to the measure this will return the sum of frequency (if there are some observations else it will return 0).

Sum of Frequency = Sum( 'fTable'[Frequency COlumn]) + 0

 Add this measure in your chart.

 

Don't forget to hit Thumbs up and accept this as a solution if you find it helpful! 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
Anonymous
Not applicable

@Tahreem24 

 

So I added the messure. Made sure "Show item with no data" is selected and added Sum of frequency to the Value field and number_of_emails to the axis feild. Still no 0 bar. 😞

When I go to the data section and filter on items with blank for "number_of_emails" I find ~200k rows, so the the data is defently there.

If possible so can you please share some sample records or file by masking any confidential data. Or create a similar structure of dummy data.
Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
Anonymous
Not applicable

I actually got I to work in my dummy-file and I then comparied the settings between those two. Apparently, the right solution is to have the following settings...

Axis: number_of_emails, with "Show items with no data"

Value: number_of_emails, with "Count"

Default Summarization: on "Don't summarize" (number_of_emails)

Data settings: Relplaced nulls with zeroes

 

What I missed was that when I change "default summarization", for some reson, count switched over to sum. And the sum of a lot of zeroes is zero, so thats why no data was showing.

 

Thank you a lot for your help @Tahreem24 

 

 

Good to know that your issue is solved. If you shared the details of your issue so probably I could have answered your query.

Then, later when my suggestion didn't work for you (show item with no data) that's why I asked for dummy file.

Good luck!
Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

Helpful resources

Announcements
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!

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.

Top Solution Authors