cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
haritima_tiwari Regular Visitor
Regular Visitor

How to fill the date gaps in Power Bi ??

The data does not have all the dates, I want to see blanks where there is no corresponding record. In the below diagram i have given monthly filter and its only showing the data for first 9 days as avaialble how can i show the rest of the dates will no data .pic123.JPG

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
TheMindGymnast Frequent Visitor
Frequent Visitor

Re: How to fill the date gaps in Power Bi ??

Create a seperate dates table using dax 

e.g.
DATE =
ADDCOLUMNS (
CALENDAR (DATE(2001,1,1),DATE(2022,1,1)),
"DateAsInteger", FORMAT ( [Date], "DDMMYYYY" ),
"Year", YEAR ( [Date] )
)

 

Link this to the sales data and then change the settings on the table : visualizations/values to "show items wth no data"

View solution in original post

1 REPLY 1
Highlighted
TheMindGymnast Frequent Visitor
Frequent Visitor

Re: How to fill the date gaps in Power Bi ??

Create a seperate dates table using dax 

e.g.
DATE =
ADDCOLUMNS (
CALENDAR (DATE(2001,1,1),DATE(2022,1,1)),
"DateAsInteger", FORMAT ( [Date], "DDMMYYYY" ),
"Year", YEAR ( [Date] )
)

 

Link this to the sales data and then change the settings on the table : visualizations/values to "show items wth no data"

View solution in original post

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)