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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
BastiB
Regular Visitor

Creating similar rows for a date period

Hello there,

 

I have rows which each contain a start and an end date. Now I want to duplicate each row for each date that lies within this date period (Like shown in the example pictures). That should result in a row for every date.

I already tried something with DATESBETWEEN, but that didn't work out. And I haven't found a suitable solution in existing threads.

 

Thank You!

 

Basti

 

Initial raw dataInitial raw dataHow it should look likeHow it should look like

1 ACCEPTED SOLUTION
2 REPLIES 2

Thank You @amitchandak! The DAX solution works very well for my data.

 

I have another question/problem: Now I would like to exclude weekends and holidays. I guess, that this is manageable via a third column and a filter. But how can I do that correctly?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors