Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi All,
I want to create a new date table using the calendar function. Calendar formula working when I pass Start/ End from another table But when I pass Start/ End date hard-code in calendar formula showing wired result I am sharing sample result below
Here I want to create a Q4 Calendar table but formula return date starting from 01-04-2019
Please help me how can create a calendar table between these two dates 2020-12-31,2020-10-01
Solved! Go to Solution.
Hi @lavdeepk ,
Your CALENDAR dax function syntax is wrong. You can't directly pass date values. You have to pass dates using DATE function:
= CALENDAR (DATE (2020, 12, 31), DATE (2020, 10, 01))
Thanks,
Pragati
HI @lavdeepk ,
Save your Power BI report --> Close it --> Reopen it --> Try again creating your calendar table.
If still there is this issue, share your pbix file.
Also, I am hopinh you are on the latest Power BI Desktop update?
Thanks,
Pragati
I Just uninstall power bi desktop and install again now calendar function working fine
Thanks Pragati
Hi @lavdeepk ,
Your CALENDAR dax function syntax is wrong. You can't directly pass date values. You have to pass dates using DATE function:
= CALENDAR (DATE (2020, 12, 31), DATE (2020, 10, 01))
Thanks,
Pragati
Hi @lavdeepk ,
Not sure what is happening at your end. But I see this working correctly at my end:
Try creating a new table and then go to data view and check.
Thanks,
Pragati
@Pragati11 I also use calendar function previously never face any issue. i am unable to figure out why this happening to me 🤔🤔
HI @lavdeepk ,
Save your Power BI report --> Close it --> Reopen it --> Try again creating your calendar table.
If still there is this issue, share your pbix file.
Also, I am hopinh you are on the latest Power BI Desktop update?
Thanks,
Pragati
I Just uninstall power bi desktop and install again now calendar function working fine
Thanks Pragati
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 50 | |
| 44 | |
| 42 | |
| 19 | |
| 19 |
| User | Count |
|---|---|
| 69 | |
| 68 | |
| 33 | |
| 32 | |
| 32 |