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
mnt23
Helper I
Helper I

Visualisation showing numerical day, rather than full date.

Hi, 

 

I'm pretty new to Power BI and I'm trying to do some basic visualisations. I have a number of jobs that are closing down as the year goes on. In my data, these each have their own row, with a date that that close down. 

 

I'm looking to plot the number of open jobs over time. After some searching, I found a thread here that I thought answered my questions. However, following that I had 2 issues:

 

1. When displaying the data in a visualisations, moving down the heirachy to day, it displayed it as days 0-31, and it just had the maximum total - why isn't it displaying as actual dates? (i.e. 21st June 22 there are 18 open jobs).

2. Is there a way to get the measure to return 0? So that the visualisation drops all the way to 0, rather than just ends when there are no more jobs open. 

 

I've scrubbed my data and have the essential bits of the pbix here

 

I'm sure there's an easy fix to this and I've probably just got a setting wrong, but any help would be grateful!

 

1 ACCEPTED SOLUTION
Seanan
Solution Supplier
Solution Supplier

Hi @mnt23,

 

You may find it more beneficial to change the X-Axis from a date hierarchy to just display all of the data and then using a slicer to drill down into the year, month or day (See below).

PBIDesktop_BOE7cO9g37.pngPBIDesktop_pmmmcGkrgt.pngPBIDesktop_KfXa8QO01Z.png

 

 

 

 

 

 

 

 

In order to get your measure to return 0 for days that do not have jobs open, create a new measure using the following code:

Total IAs = IF('IAs'[Total IAs] = BLANK(),0,'IAs'[Total IAs])

 

I hope this helps you with what you are looking for.

View solution in original post

3 REPLIES 3
Seanan
Solution Supplier
Solution Supplier

Hi @mnt23,

 

You may find it more beneficial to change the X-Axis from a date hierarchy to just display all of the data and then using a slicer to drill down into the year, month or day (See below).

PBIDesktop_BOE7cO9g37.pngPBIDesktop_pmmmcGkrgt.pngPBIDesktop_KfXa8QO01Z.png

 

 

 

 

 

 

 

 

In order to get your measure to return 0 for days that do not have jobs open, create a new measure using the following code:

Total IAs = IF('IAs'[Total IAs] = BLANK(),0,'IAs'[Total IAs])

 

I hope this helps you with what you are looking for.

Thanks @Seanan that was exactly what I was looking for. 

Seanan
Solution Supplier
Solution Supplier

@mnt23 No problem! Glad I was able to help.

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