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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello,
I have two matrices side by side. The right matrix shows revenue across all months by customer, while the left one only displays revenue for the last two closed months by customer(april is not closed now). When I click on a customer in the left table, I want the right table to show revenue across all months for that customer.
Can you help me?
Solved! Go to Solution.
solved!
var _diff = CALCULATE(sum(View_Forecast_Revenue[Revenue]),View_Forecast_Revenue[FRE_Periode] = _CurrentPeriode,dim_Calendar[IsLCM]= 1,ALL(dim_Calendar)) -CALCULATE(sum(View_Forecast_Revenue[Revenue]),View_Forecast_Revenue[FRE_Periode] = _CurrentPeriode,dim_Calendar[IsPreLastClosedMonth]=1,ALL(dim_Calendar))
Return IF(ISINSCOPE(dim_Calendar[ShortMonthName]),CALCULATE(sum(View_Forecast_Revenue[Revenue]),View_Forecast_Revenue[FRE_Periode] = _CurrentPeriode,dim_Calendar[IsM2M]= 1),_diff)
solved!
var _diff = CALCULATE(sum(View_Forecast_Revenue[Revenue]),View_Forecast_Revenue[FRE_Periode] = _CurrentPeriode,dim_Calendar[IsLCM]= 1,ALL(dim_Calendar)) -CALCULATE(sum(View_Forecast_Revenue[Revenue]),View_Forecast_Revenue[FRE_Periode] = _CurrentPeriode,dim_Calendar[IsPreLastClosedMonth]=1,ALL(dim_Calendar))
Return IF(ISINSCOPE(dim_Calendar[ShortMonthName]),CALCULATE(sum(View_Forecast_Revenue[Revenue]),View_Forecast_Revenue[FRE_Periode] = _CurrentPeriode,dim_Calendar[IsM2M]= 1),_diff)
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 57 | |
| 53 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 116 | |
| 105 | |
| 41 | |
| 34 | |
| 25 |