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
Hello,
Anyone assist please,
I have created a Date Table and Marked it as a Date Table using CALENDARAUTO as screened below
Calendarauto =
VAR MinYr = YEAR(MIN(FactTablefile[Quarter_startdate]))
VAR MaxYr = YEAR(MAX(FactTablefile[Quarter_startdate]))
Return
FILTER(
CALENDARAUTO(9),
MinYr &&
MaxYr
)
Unfortunately, the date table generated picked only one year (Oct 2021 - Sept 2022) from the fact table while the referenced date column (Quarter start date) from fact table having dates starting from January 2020.
Solved! Go to Solution.
@tmhalila , My advice would be to try like
Calendar
VAR MinYr = YEAR(MIN(FactTablefile[Quarter_startdate]))
VAR MaxYr = YEAR(MAX(FactTablefile[Quarter_startdate]))
Return
calendar(date(MinYr,1,1), date(MaxYr,12,31))
@tmhalila , My advice would be to try like
Calendar
VAR MinYr = YEAR(MIN(FactTablefile[Quarter_startdate]))
VAR MaxYr = YEAR(MAX(FactTablefile[Quarter_startdate]))
Return
calendar(date(MinYr,1,1), date(MaxYr,12,31))
Thank you @amitchandak
I am glad to be part of this community, you saved my day👏👏👏. Stay blessed!
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!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 42 | |
| 21 | |
| 18 |