Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
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
Hi everyone
I'm trying to work out the percentage increase or decrease based on year on year values within a table.
I'm using this DAX Measure to calculate the value of payments from each contact:
I'd like to achieve a DAX Measure (preferably) that shows the increase / decrease between the various years e.g. that 1983/1984 is a 2000% increased on 1982/1983 and that 1984/1985 is a 99% decreasd on 1983/1984 etc.
Could anyone please tell me the best way to achieve this?
Many thanks
Jon
Solved! Go to Solution.
Hi @jonclay ,
Thanks divyed for the quick reply. I have some other thoughts to add:
(1) We can create measures.
rank =
RANKX (
SUMMARIZE ( ALLSELECTED ( 'Fin_Yr' ), [Fiscal Year], "nett", [Paid (Nett)] ),
[Fiscal Year],
MAX ( 'Fin_Yr'[Fiscal Year] )
)
Change = var _rank=[rank]+1
var _pre= CALCULATE([Paid (Nett)],FILTER(ALLSELECTED('values'),[rank]=_rank))
var _current=[Paid (Nett)]
RETURN DIVIDE(_current-_pre,_pre)
(2) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you, everyone.
These all work in different ways, so I have a great choice 🙂
Hi @jonclay ,
Thanks divyed for the quick reply. I have some other thoughts to add:
(1) We can create measures.
rank =
RANKX (
SUMMARIZE ( ALLSELECTED ( 'Fin_Yr' ), [Fiscal Year], "nett", [Paid (Nett)] ),
[Fiscal Year],
MAX ( 'Fin_Yr'[Fiscal Year] )
)
Change = var _rank=[rank]+1
var _pre= CALCULATE([Paid (Nett)],FILTER(ALLSELECTED('values'),[rank]=_rank))
var _current=[Paid (Nett)]
RETURN DIVIDE(_current-_pre,_pre)
(2) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello @jonclay ,
You can try below dax :
I hope this helps. Did I answer your query ? Mark this as solution if this has solved your issue.
Cheers
Hi there @divyed
Many thanks for your reply.
The Fiscal Year field is a calculated column on the Fin_Yr table, so I can't seem to get your code to work. I'm using the following code to create the column:
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 |
|---|---|
| 6 | |
| 6 | |
| 4 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 22 | |
| 10 | |
| 8 | |
| 7 | |
| 5 |