Forum Discussion
slicer selected choice
- 5 years ago
gunicotra , This kind of measure is suitable if table 1 and table 2 are not connected
measure =
var _year = allselected(Table[Year])
return
CALCULATE(SUM(Table2[Counter]),filter(Table2 , Table2[CODE] in {"10", "11", "12","13","14"} && 'Table2'[YEAR] in _year))because if they are connected , it will already have filter impact
I explained it here
Need of an Independent Table in Power BI: https://youtu.be/lOEW-YUrAbE
gunicotra , This kind of measure is suitable if table 1 and table 2 are not connected
measure =
var _year = allselected(Table[Year])
return
CALCULATE(SUM(Table2[Counter]),filter(Table2 , Table2[CODE] in {"10", "11", "12","13","14"} && 'Table2'[YEAR] in _year))
because if they are connected , it will already have filter impact
I explained it here
Need of an Independent Table in Power BI: https://youtu.be/lOEW-YUrAbE
- gunicotra5 years ago
Helper II
great solution! it works perfectly. Thanks 🙂