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
hi all
Below is a matrix that has values for three distinct columns "ACT" "LY" "RF4", the 3 columns are selected filters from the same column of the source data. I want to calculate the difference between 1) ACT and LY, 2) LY and RF4. How do I insert the calculated columns into this matrix that is currently filtered?
Any help (with step by step visuals) is appreciated as I do not have much experience with DAX.
Thanks
Hi @teomelis,
Please refer to my reply in this similar thread: How can I calculate % from 2 columns 1 and 2 where 1,2 are the periods of time (year, months, etc)
We can add the Difference column into matrix, but it is not possible to dynamically show/hide the column based on slicer selection.
Regards,
Yuliana Gu
Create 2 calculated columns:
1. To calculate difference between ACT and LY
2. To calculate difference between LY and RF4
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 120 | |
| 95 | |
| 70 | |
| 69 | |
| 65 |