Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
How would i create a measure to subtract from the first row of start date / start time from the last row of end date / end time.
I removed the duplicates and created a index column to come up with a whole number but im in need of a decimal number of total days from start to finish. Thanks in advance!
Solved! Go to Solution.
Hi @Anonymous ,
Is this what you are looking for? I merged the 2 columns for start and end to get a datetime, then added a column with Date diff
Time Diff = Divide(DATEDIFF(Min('start'[Start]),MAX('start'[End]),HOUR),24)
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Proud to be a Super User!
Hi @Anonymous ,
Is this what you are looking for? I merged the 2 columns for start and end to get a datetime, then added a column with Date diff
Time Diff = Divide(DATEDIFF(Min('start'[Start]),MAX('start'[End]),HOUR),24)
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Proud to be a Super User!
Thanks!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 13 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 25 | |
| 10 | |
| 10 | |
| 6 | |
| 6 |