Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
98 | |
97 | |
81 | |
77 | |
66 |
User | Count |
---|---|
126 | |
105 | |
103 | |
81 | |
72 |