Dear PBI Community,
I want to calcculate Constant (number which should not change based on slicer selection, therefore I have createed athe following measure for this, which works fine
Constant_Picked_Lines_Per_day_2024 =
VAR selectedm = SELECTEDVALUE('ReportingData V_ATLAS_OL'[CalDate M])
VAR selectedy = "2024"
RETURN
CALCULATE(
[Total Picked Lines Per Weighted Working day],
ALL('ReportingData V_ATLAS_OL'),
'ReportingData V_ATLAS_OL'[Currency] = "LC",
'ReportingData V_ATLAS_OL'[Interval] = "MTD",
'ReportingData V_ATLAS_OL'[Version] = "AC",
'ReportingData V_ATLAS_OL'[CalDate M] = (selectedm),
'ReportingData V_ATLAS_OL'[CalDate Y] = "2024",
'ReportingData V_ATLAS_OL'[Country_ID]= "BAL",
)
But when I include other condition ( country also equal to AT ) for country ID column example as below, it gives me a blank value,
Constant_Picked_Lines_Per_day_2024 =
VAR selectedm = SELECTEDVALUE('ReportingData V_ATLAS_OL'[CalDate M])
VAR selectedy = "2024"
RETURN
CALCULATE(
[Total Picked Lines Per Weighted Working day],
ALL('ReportingData V_ATLAS_OL'),
'ReportingData V_ATLAS_OL'[Currency] = "LC",
'ReportingData V_ATLAS_OL'[Interval] = "MTD",
'ReportingData V_ATLAS_OL'[Version] = "AC",
'ReportingData V_ATLAS_OL'[CalDate M] = (selectedm),
'ReportingData V_ATLAS_OL'[CalDate Y] = "2024",
'ReportingData V_ATLAS_OL'[Country_ID]= "BAL",
'ReportingData V_ATLAS_OL'[Country_ID]= "AT"
)
Question :
How can I calculate the value of this constnat for countries AT, BAL, CZ, NL , HR i.e constant value having all these 5 countries included ?
is there any alternate function which can solve this?
Thank you very much in advance!!