Forum Discussion
DavidGlover
4 years agoNew Member
Filter measure by another column data
Hi, I have a simple measure that works like the below:
SUMDenominators = sum(SalesData[Denominator (rounded)])
I need to be able to filter this by another column within the same table entitled 'Year' which has values of 2019/20 or 2020/21 - can anyone please provide the solution to amend the above in order that it filters column 'Year' for value '2019/20' please?
Thank you!
DavidGlover TRy this:
SUMDenominators = CALCULATE(SUM(SalesData[Denominator (rounded)]),TableName[YearColumn] in {"2019/20" ,"2019/21")
1 Reply
- Tahreem24
Super User
DavidGlover TRy this:
SUMDenominators = CALCULATE(SUM(SalesData[Denominator (rounded)]),TableName[YearColumn] in {"2019/20" ,"2019/21")