Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I'm trying to find the number of days between 2 dates (the Report_Date and the prior Report_Date).
This seems simple but it's eluding me.
Solved! Go to Solution.
This worked for me
Thanks Bifinity_75. It is throwing up an error:
Hi @PaulBethancourt, try this calculate column:
Days =
var PreviousDate =
MAXX(FILTER(ALL('Table'),EARLIER('Table'[REPORT_DATE]) > 'Table'[REPORT_DATE]),'Table'[REPORT_DATE])
Return
if (PreviousDate<>0,'Table'[REPORT_DATE]-PreviousDate,0)The result:
Best Regards
This worked for me
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!