Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I am looking on how to get this to give me the total of the diff from the first date and the last date-
I need the total from 1/4 to 2/17- 44 days not 4 days.
Solved! Go to Solution.
Hi @stites_adam
Download example PBIX with data and code
This works for me
TotalDays = DATEDIFF( FIRSTDATE('Detail'[Actual Start Date]), LASTDATE('Detail'[Actual Finish Date]),DAY)
Regards
Phil
Proud to be a Super User!
Hi @stites_adam
Please @ mention me in replies or I will not see them. Type @ then select my name.
Can you please provide your PBIX or your data?
Regards
Phil
Proud to be a Super User!
@PhilipTreacy It may be the index that was added, I do not have that. Sorry, I am new at this all. I will try to upload my PBIX.
No worries.
Upload the PBIX to OneDrive or DropBox then link to it here.
Phil
Proud to be a Super User!
@PhilipTreacy - This formula did work! Sorry for the delay on getting back to you.
Hi @stites_adam
Download example PBIX with data and code
This works for me
TotalDays = DATEDIFF( FIRSTDATE('Detail'[Actual Start Date]), LASTDATE('Detail'[Actual Finish Date]),DAY)
Regards
Phil
Proud to be a Super User!
Oddly, I still get 4 as the total-
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |