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!
Hi there, Is there any other codes that i can use instead of calendarauto.
I usually go for calendarauto to make a date table to connect with my data to create progress or plan by week report.
The problem is this code collects all the dates from my data even though it's not correct date like 1939 which was put in accident in database. i don't want to correct database inccorrect date every single time..
please let me know there is any other code but same function.!
thanks
CL
Solved! Go to Solution.
@Anonymous
you can define the range for a date table like so.
Dates = CALENDAR ( DATE ( 2018, 1, 1 ), DATE ( 2020, 12, 31 ) )
@Anonymous - Just use CALENDAR(DATE(...),DATE(...))
@Anonymous
you can define the range for a date table like so.
Dates = CALENDAR ( DATE ( 2018, 1, 1 ), DATE ( 2020, 12, 31 ) )
@Anonymous , refer if these calendar's can help
1.Creating Financial Calendar - Decoding Date and Calendar 1-5 - Power BI Turning 5 Celebration Series
https://community.powerbi.com/t5/Community-Blog/Creating-Financial-Calendar-Decoding-Date-and-Calendar-1-5-Power/ba-p/1187441
2.Any Weekday Week - Decoding Date and Calendar 2-5 - Power BI Turning 5 Celebration Series
https://community.powerbi.com/t5/Community-Blog/Any-Weekday-Week-Decoding-Date-and-Calendar-2-5-Power-BI-Turning/ba-p/1187482
You can start calendar like
calendar(Min(Table[Date]), Today())
calendar(date(1990,1,1), Today())
calendar(date(1990,1,1), date(2025,12,31))
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 |
|---|---|
| 64 | |
| 51 | |
| 46 | |
| 23 | |
| 19 |
| User | Count |
|---|---|
| 138 | |
| 111 | |
| 50 | |
| 33 | |
| 29 |