Forum Discussion
HELP with DAX
- Anonymous2 years ago
Hi dimidi ,
Here are the steps you can follow:
1. Select [Shift_Start] and [Shift_End] - Duplicate Column..
2. Select each of the two copied columns - Time - Time Only.
3. Create calculated table.
Time = VAR __StartTime= TIME(0,0,0) var __EndTime= TIME(23,0,0) var __Duration= TIME(1,0,0) return GENERATESERIES(__StartTime,__EndTime,__Duration)4. Create measure.
Time = VAR __StartTime= TIME(0,0,0) var __EndTime= TIME(23,0,0) var __Duration= TIME(1,0,0) return GENERATESERIES(__StartTime,__EndTime,__Duration)5. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
How to get good help fast. Help us help you.
How To Ask A Technical Question If you Really Want An Answer
How to Get Your Question Answered Quickly - Give us a good and concise explanation
How to provide sample data in the Power BI Forum - Provide data in a table format per the link, or share an Excel/CSV file via OneDrive, Dropbox, etc.. Provide expected output using a screenshot of Excel or other image. Do not provide a screenshot of the source data. I cannot paste an image into Power BI tables.