Forum Discussion
Anonymous
7 years agoNot applicable
power bi dynamic slicer row matrix selection
I have a matrix on brand and country. Now I want let the user choose If they want to see the generic cost. I prefer not to have a slicer with all the brands. (Generic is a brand in this case). This...
- 7 years ago
Hi Anonymous,
Based on my test. Your formula worked well in my side. Also I create another measure to work on it, it worked well as well.
Measure = var sele = SELECTEDVALUE(ReportFilters[ReportFilters]) return IF(sele="All",[Total AdwordsCost],IF(sele="All(eclusief Generic)",CALCULATE(SUM(Brands[Column3]),FILTER(Brands,'Brands'[Brand] <> "Generic"))))
For more details ,please check the pbix as attached.
Regards,
Frank
Anonymous
7 years agoNot applicable
v-frfei-msft
Community Support
7 years agoHi Anonymous,
Based on my test. Your formula worked well in my side. Also I create another measure to work on it, it worked well as well.
Measure = var sele = SELECTEDVALUE(ReportFilters[ReportFilters]) return IF(sele="All",[Total AdwordsCost],IF(sele="All(eclusief Generic)",CALCULATE(SUM(Brands[Column3]),FILTER(Brands,'Brands'[Brand] <> "Generic"))))
For more details ,please check the pbix as attached.
Regards,
Frank
- Anonymous7 years agoNot applicable