Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
137 | |
70 | |
64 | |
52 | |
50 |
User | Count |
---|---|
208 | |
91 | |
62 | |
59 | |
56 |