The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am trying add a new column for the "Year", based on a date range with a specified Start Date and End Date.
Some of the problems I am running into:
The "Year" has an unconventional Start and End Date.
The "Year for a given product is 104 weeks.
The result should look like this.
With the column header = "Product Year [Value in column]"
Other notes: My goal with this is to be able to use the "Product Year" to refrence the Date associated with it to pull data from tables with the same date format. (Cardnality is one to one). One table contains the 1st 52 week period and another table contains the 2nd. My assumption is I can use the values in the columns to complete lookups and build specific calcualtions based on the year.
I am a long time Excel and Tableau User but am cutting my teeth with Power Bi and, I need help.
Thank you
@BradleyH , seem like you want to create FY
FY = if( Month(([DAte])) <5 , year(([DAte]))-1 ,year(([DAte])))
Also refer
Creating Financial Calendar - From Any Month
https://community.powerbi.com/t5/Community-Blog/Creating-Financial-Calendar-Decoding-Date-and-Calend...
https://medium.com/chandakamit/cheat-sheet-calendar-of-any-standard-month-just-one-variable-apart-5e...
https://amitchandak.medium.com/cheat-sheet-power-query-financial-year-calendar-5ceaacb520f1