Forum Discussion
Calendar issue
Hi friends,
I want your help. My data table only has FY and month columns, as you can see from the above link.
I am working with the company's PL(Dummy).
I want to sort months starting April ( 04) as 1. Our FY begins in April and ends in March.
How can I create a relationship with a calendar table?
I cant Month as date data type.
Is there any support, please?
7 Replies
- amitchandakSuper User
jnn4282 , I have a calendar code with sort columns, see if that can help
Creating Financial Calendar - From Any Month
https://community.powerbi.com/t5/Community-Blog/Creating-Financial-Calendar-Decoding-Date-and-Calendar-1-5-Power/ba-p/1187441- jnn4282Helper II
Thank you amitchandak
I will check the link you provided. Then, if I get stocked somewhere, I will approach again.
- jnn4282Helper II
Thank you for the calendar and works perfectly.
But how do I connect to my PL table( relationship)? Since my PL table does not have any Date data type.
- v-jingzhangCommunity Support
Hi jnn4282
Can you please show some dummy data of your PL table? If it doesn't have any date data type columns, you can add columns like "Month Start Date", "Month End Date" based on existing columns like Month, Year or any date related columns you have in PL table. Then build a relationship between "Month Start Date" (or "Month End Date") and the Date column in Calendar table.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.