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.
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
Solved! Go to Solution.
@BastiB , Power query way
Power BI - Get Dates between range using Power Query: https://youtu.be/SFEPsKfqIks
Or DAX way
@BastiB , Power query way
Power BI - Get Dates between range using Power Query: https://youtu.be/SFEPsKfqIks
Or DAX way
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?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
108 | |
88 | |
75 | |
66 |
User | Count |
---|---|
125 | |
114 | |
98 | |
81 | |
73 |