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'm trying to use the DATEDIFF function, however its not giving me the option to select my fields which are formatted as DATE.
DATEDIFF(DATE1, DATE2, Interval)
For DATE1 I have a table and field = Campaigns[StartDate] - this does not show up when I try to use this for DATE1. The only options that populate are other measures. None of the DATE fields I have in the table show up.
I hope this makes sense. Again - the fields are of the type DATE. For DATE2 - I would like to use TODAY(). Ultimately, I'm trying to calculate the number of days between TODAY and the StartDate field.
Thanks for your help!
Solved! Go to Solution.
@Anonymous ,
Are you using measures ? If yes, try using this column inside a SELECTEDVALUE function.
That worked - thank you.
This is what I used -
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.