Forum Discussion
fbittencourt
10 months agoHelper IV
Inverse Filter
Hi All !! I need some help to apply an inverse filter: EG. I have a dimension table connected to the fact table, but my manager ask me the following: When we filter a countr...
- 10 months ago
Hi, you can give it a try like below
1. Create another Dim Country table in Power Query by using nestedJoin
Table.NestedJoin(Dim, {"Region"}, Dim, {"Region"}, "Dim", JoinKind.LeftOuter)2. Leave this Dim Country table disconnected from other tables.
3. Create a Measure so that you can use in your table visual later, mine looks like
_Level = CALCULATE( SUM(Fact[Level]), Fact[Country] IN VALUES('Disconnected Dim'[Dim.Country]) )4. Use Region, Country from this Disconnected table for Table visual, and Country also from this Disconnected table for slicer
MasonMA
10 months agoSuper User
Hi, you can give it a try like below
1. Create another Dim Country table in Power Query by using nestedJoin
Table.NestedJoin(Dim, {"Region"}, Dim, {"Region"}, "Dim", JoinKind.LeftOuter) 2. Leave this Dim Country table disconnected from other tables.
3. Create a Measure so that you can use in your table visual later, mine looks like
_Level =
CALCULATE(
SUM(Fact[Level]),
Fact[Country] IN
VALUES('Disconnected Dim'[Dim.Country])
)4. Use Region, Country from this Disconnected table for Table visual, and Country also from this Disconnected table for slicer
- fbittencourt10 months agoHelper IV
Thank you vey much for your brilliant solution!!