Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello all,
I have been asked to adapt an existing report which was using calendar dates to one that uses our company's Financial Years and Financial Weeks.
We have a table which shows a column with the number of orders per calendar month, and another column with the number of orders from the same month for the previous year. For this, I used:
I have the following data Table A:
| FY | FY WeekNum | Customer Number | Orders |
| 2023 | 1 | 104 | 18,026 |
| 2023 | 2 | 104 | 24,941 |
| 2023 | 3 | 104 | 19,161 |
| 2024 | 1 | 104 | 16,831 |
| 2024 | 2 | 104 | 22,954 |
| 2024 | 3 | 104 | 18,977 |
I need to have a table visual which shows the following:
| FY | FY WeekNum | Customer Number | Order | Previous FY |
| 2024 | 1 | 104 | 16,831 | 18,026 |
| 2024 | 2 | 104 | 22,954 | 24,941 |
| 2024 | 3 | 104 | 18,977 | 19,161 |
How can I achieve this please? Any help really appreciated.
Many thanks,
Alison
Solved! Go to Solution.
Thanks so much for the clear explanation, much appreciated! 🙂
Hi @Anonymous ,
If i understood well, please try the bellow DAX measure:
Orders Previous FY =
VAR CurrentFY = MAX('Table A'[FY])
VAR CurrentWeekNum = MAX('Table A'[FY WeekNum])
VAR PreviousFY = CurrentFY - 1
RETURN
CALCULATE(
SUM('Table A'[Orders]),
'Table A'[FY] = PreviousFY,
'Table A'[FY WeekNum] = CurrentWeekNum
)
Check out the April 2026 Power BI update to learn about new features.
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.
| User | Count |
|---|---|
| 45 | |
| 38 | |
| 34 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 68 | |
| 64 | |
| 31 | |
| 26 | |
| 26 |