Forum Discussion
alfordtp
7 years agoFrequent Visitor
Filter by parent row total
This seems like a very simple operation, but I'm farily new to DAX/PowerBI so I need some help. I'm showing this in an Excel pivot table, but I'm really using this in Power BI desktop. I have...
- 7 years ago
Hi alfordtp,
Do I need to create a distinct count of customers as a variable and then filter on that?
Yes. You could create a measure as below.
Measure = CALCULATE ( DISTINCTCOUNT ( Table1[Customer] ), ALL ( Table1[Customer] ) )
Select the Matrix, add this measure to visual level filter and set its value to 1.
Best regards,
Yuliana Gu
v-yulgu-msft
Microsoft Employee
7 years agoHi alfordtp,
Do I need to create a distinct count of customers as a variable and then filter on that?
Yes. You could create a measure as below.
Measure = CALCULATE ( DISTINCTCOUNT ( Table1[Customer] ), ALL ( Table1[Customer] ) )
Select the Matrix, add this measure to visual level filter and set its value to 1.
Best regards,
Yuliana Gu