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
I am desiring to create a calculated table that based on the date should return FY2020, FY2021, FY2022, FY2023
You can more easily create a FY column with an expression like this (just use the right month offset in EOMONTH; not sure if you need 3 or 9).
FY = "FY" & YEAR(EOMONTH('Market year dates'[Date], 3))
Pat
Hey I tried this measure but the visual slicers are not working. When I choose 2020, 2022 etc data the visuals go blank but when I hard code '2022' the data is pulling up. I would like to see current year data and prev data.
Add a calculated column to the date table.
Column = "FY" & 'Table'[Year]
I am trying to allow anyone to use a slicer to switch between my23 data and my21 data a dax query that will help my data understand to pull MY23 data My22 or My21 when required
Hi @Anonymous
You can add a fiscal year column with below DAX in the Date table.
Fiscal Year = "FY" & IF(MONTH([Date])<4,YEAR([Date]),YEAR([Date])+1)
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it. Highly appreciate your Kudos!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |