Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi all,
I have a problem about slicer and table list.
I have an example table:
I have a slicer BU. When I don't filter any slicers, I want the table only shows records that have NOTE = off/ null.
If I filter BU, the table will show all NOTE.
Please help me with it,
Thanks so much.
Solved! Go to Solution.
Hi @thaonguyen
Please follow attached sample file for the solution
Filter Measure =
IF (
ISFILTERED ( 'BU Selection'[BU] ),
1,
COUNTROWS (
FILTER ( Data, Data[NOTE] IN { "off", BLANK ( ) } )
)
)
@thaonguyen
I notice a small mistake in the code. Please refer to the updated one in the "Marked as accepted solution" reply.
Hi @thaonguyen
Please follow attached sample file for the solution
Filter Measure =
IF (
ISFILTERED ( 'BU Selection'[BU] ),
1,
COUNTROWS (
FILTER ( Data, Data[NOTE] IN { "off", BLANK ( ) } )
)
)
User | Count |
---|---|
18 | |
18 | |
14 | |
14 | |
13 |
User | Count |
---|---|
17 | |
14 | |
11 | |
10 | |
8 |