Reply To: Filling in in-between dates when unpivoting

Home Forums Power BI Filling in in-between dates when unpivoting Reply To: Filling in in-between dates when unpivoting

#10938

You will not be able to accomplish what you want by unpivoting columns. However, you can:

Go to your Date table, add Custom Index Column, Starting Index 0, Increment 0

Go back to your Query, add Custom Index Column, Starting Index 0, Increment 0

Merge Date table into your Query using those two new columns; use Left Outer join

After expanding, you will have all of the rows from your Date table available.

Add Conditional Column, “Custom”, each if ([Joined]›=[From] and [Joined] ‹= [To]) then “keep” else “delete”

Filter Custom and keep only “keep”

Delete all the unnecessary columns.

Br,