Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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-
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.