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 creating a matrix to show a breakdown of orders and the YOY completion percentage of this year compared to last year.
The YOY calculation is a measure defined as follows:
Solved! Go to Solution.
How about this instead?
YOY =
VAR RowYear = MAX( Query2[YEAR] )
RETURN
DIVIDE (
SUM ( Query2[ORDERS] ),
CALCULATE ( SUM ( Query2[ORDERS] ), Query2[ORDERS] = RowYear - 1 )
)
How about this instead?
YOY =
VAR RowYear = MAX( Query2[YEAR] )
RETURN
DIVIDE (
SUM ( Query2[ORDERS] ),
CALCULATE ( SUM ( Query2[ORDERS] ), Query2[ORDERS] = RowYear - 1 )
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 62 | |
| 47 | |
| 40 | |
| 36 | |
| 23 |
| User | Count |
|---|---|
| 184 | |
| 123 | |
| 106 | |
| 78 | |
| 52 |