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 guys,
Just a simplie question relating to datediff.
I have a table with many dates per rows and want to compare these dates to 30/06/2020.
What I did so far was the following:
Did I use the formula wrongly?
Thanks heaps,
Diego
Solved! Go to Solution.
@Anonymous ,
Try like
Age = datediff('Gross 16-18'[End CAP Account],date(2020,06,30),YEAR)
or
Age = datediff(date(2020,06,30)',Gross 16-18'[End CAP Account],YEAR)
@Anonymous ,
Try like
Age = datediff('Gross 16-18'[End CAP Account],date(2020,06,30),YEAR)
or
Age = datediff(date(2020,06,30)',Gross 16-18'[End CAP Account],YEAR)
Hi @Anonymous ,
You can try to change to parameter sort in the function:
Age = datediff('Gross 16-18'[End CAP Account].30/06/2020,YEAR)
Aiolos Zhao
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.