Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
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!
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
33 | |
16 | |
13 | |
10 | |
8 |
User | Count |
---|---|
59 | |
20 | |
12 | |
11 | |
10 |