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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
We need to generate a calender containing the dates for last 30 days in DAX. I cant seem to find a good solution for this. How do I pass correct parameters to the CALENDAR method?
Solved! Go to Solution.
HI @Abhaykumar
Please try the following code to create a calculated table.
Date Table = CALENDAR( TODAY()-30, TODAY() )
HI @Abhaykumar
Please try the following code to create a calculated table.
Date Table = CALENDAR( TODAY()-30, TODAY() )
can we do it for maximum date availabe in data instade of today