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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
johankent30
Helper I
Helper I

Create new table with row for every day

cfs.JPGI have the following table and am trying to create a new table which takes in the min and max date from the Date Value column and does not skip any days. The issue is that when I disply this data in a matrix, days that have no data are not shown. I want the days to show even if they don't have any collections data. The ideal result would be to create a new table that was identical to this one but for days with no data had a row for every possible combination of category, subcategory, and Date Type. The Custom.cust_num can be blank for those days. Is this possible? Thanks!

 

cfs.JPGcfs2.JPG

1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

hi, @johankent30 

You could try this way:

Use this formula to create a date table and then create the relatonship with basic table

Date=CALENDAR(MIN('Table' [Date Value]),MAX('Table' [Date Value]))

Now use date field from date table.

You could enable Show items with no data in Power BI  in the visual.

 

 

Best Regards,

Lin

 

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

hi, @johankent30 

You could try this way:

Use this formula to create a date table and then create the relatonship with basic table

Date=CALENDAR(MIN('Table' [Date Value]),MAX('Table' [Date Value]))

Now use date field from date table.

You could enable Show items with no data in Power BI  in the visual.

 

 

Best Regards,

Lin

 

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Johan,

 

Check this out, I think it's what you want:

 

https://community.powerbi.com/t5/Desktop/Add-rows-missing-date-values/td-p/118463

 

cheers,

glenn

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.