Forum Discussion
How to create a dates between from and to date
- 7 years ago
Hi Anonymous,
Based on my test, you could refer to below steps in query editor:
Sample data:
Selected the two columns and use the "Unpivot columns" function:
Now you could get the merged columns.
Regards,
Daniel He
Anonymous
1. Click “Edit queries” to open Power Query editor
2. Make sure your date columns are date (not date/time) format
3. Create a custom column
4. Listofdays = { Number.From([From Date])..Number.From([ToDate])}
5. Click OK
6. Click the “diverging-arrow” icon next to “Date” and click “Expand to new rows”. Notice the addition of new rows.
7. Change the column type to “Date”
8. Click “Close and Apply”
Final Step Create Calculated
List of days = CONCATENATEX(FILTER(ALL(Tab),Table[Emplyee ID]=EARLIER([Emplyee ID])),[Listofdays]," , ")
- Anonymous7 years agoNot applicable
unique values falls duplicate.
without duplication how can i achieve.
- chotu277 years agoPost Patron
Anonymous you need this view right?
- Anonymous6 years agoNot applicable
Hi chotu27
I tried to reproduce the steps that you mentionned il your comment
Could you please help with this error:thanks in advance,