Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

Need Help with DAX to calculate variance between two matrixes

hi, I need help calculating variances between two matrixes in power BI where both matrixes are from the same table .

my Table is called Forecast as below 

 

KeyCreated onFY Year Fy Month FCST Value 
11/01/202320241 $            500.00
210/01/202320241 $            600.00
310/02/202320241 $            100.00
412/02/202320241 $            200.00
55/03/202320242 $            700.00
610/03/202320242 $            500.00
720/03/202320242 $            600.00
830/03/202320242 $            200.00
99/04/202320242 $            100.00

 

 

I have 3 slicers - one for selecting two different creation date and one for selecting FCST FYYear and month 

in the first slicer user selects : 10/01/2023

in the second slicer user selects : 12/02/2023

and in the 3rd slicer they ask to see what they have forcasted on above two dates for JAN 2024

two different matrixes will show them the results (should this be in one matrix?) 

the result of the matrixes are as below: 

1st: 

10/01/202320241 $  100.00

 

2nd matrix:

12/02/202320241 $  200.00

 

I need to have a 3rd matirx that shows the variance, for thsi example the variance is $100

is this possible via one table? or do I need two tables? 

Appreciate your help.

2 REPLIES 2
lbendlin
Super User
Super User

Are you planning to do this with a data model or with a bunch of disconnected tables? Instead of the first two slicers you could use one "Between" slicer.

Anonymous
Not applicable

there is only one table which has all the data, all the creation dates and all the forecasts 
I tried the Between slicer , but users want to see the results on two exac dates not in between dates. 

thanks

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors