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! It's time to submit your entry. Live now!
HI,
I am trying to create a Fiscal Calendar in Power BI, we are using Direct Query and my Calendar is written in M code. I cannot create it in Visual Studio for Analysis services as there is no underlying Data Source. I have been trying to append my M code (for the Calander) into the M code for a Date Dimension Object.
Any help with trying to merge the two so I can use my Calendar in Power BI Reports?
Or any other way to create a Fiscal calander in Visual Studio /Analysis services.
tia
Hi @Anonymous ,
Please see if this document can help:
How to: Programmatically create a custom calendar - Visual Studio (Windows) | Microsoft Learn
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 8 | |
| 8 | |
| 7 |