earlier I got help on the measure I will ask help today, and it’s working perfect.
But, now I wanted to make selection wider using slicer and after selecting more than one criteria I loose Total.
Measure:
// NEWEST MEASURE =
VAR _season= SELECTEDVALUE(Figures[Season_Mark])
VAR _yr=SELECTEDVALUE(Figures[Season_Year])-1
VAR _qu=[# Quantity CY]
VAR _seasonkark =
SWITCH( TRUE() ,
_season = “CONT”, “CONT9999”,
_season&_yr
)
VAR _tot =
IF( ISBLANK([# Quantity CY]), BLANK(),
CALCULATE([# Quantity CY], FILTER( ALL(Figures[Season]), Figures[Season]
=_seasonkark), DATEADD( Dates[Date] , -364 , DAY ) )
)
return
if(ISFILTERED(Figures[Season]),_tot,[# Quantity LY])
//
It is only happening when I use Figures[Season] in the Slicer.
In order to achieve the results based on the scenario that you’ve specified. Below is the measure alongwith the screenshot of the final results provided for the reference -