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
Anonymous
Not applicable

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
TheMindGymnast
Frequent Visitor

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
TheMindGymnast
Frequent Visitor

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"

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.