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! Request now
I need to have total number of days after first operation. Thus I'm trying to use this formula
datediff(firstdate([datecolumn]),lastdate([datecolumn]),days) but its not working. am i doing something wrong?
Solved! Go to Solution.
I Used date format and it resolved problem (taking .date from date/time format)
DATEDIFF(FIRSTDATE([Datecolumn].[Date]),LASTDATE([Datecolumn].[Date]),DAY)
I Used date format and it resolved problem (taking .date from date/time format)
DATEDIFF(FIRSTDATE([Datecolumn].[Date]),LASTDATE([Datecolumn].[Date]),DAY)
Have you tried DAY instead of days as well?
datediff(firstdate([datecolumn]),lastdate([datecolumn]),DAY)
It is "Datediff" Formula Option.
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.