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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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