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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 63 | |
| 50 | |
| 41 | |
| 19 | |
| 16 |
| User | Count |
|---|---|
| 125 | |
| 108 | |
| 46 | |
| 29 | |
| 27 |