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,
I am trying to generate a dynamic table shows the inverted result of a slicer.
In order to obtain this, I used the follow measures/tables:
The original table for which I am trying to make the inverted selection
Cars_table
Table for slicer
Unique_brand = SUMMARIZE('Cars_table','Cars_table'[brand])
List of all selected values
selection_list =
VAR part_1 = CONCATENATE(UNICHAR(34),UNICHAR(44))
VAR part_2 = CONCATENATE(part_1, UNICHAR(34))
VAR core = CONCATENATEX(Unique_brand, [brand], part_2)
VAR with_lead = CONCATENATE(UNICHAR(34), core)
VAR with_tail = CONCATENATE(with_lead, UNICHAR(34))
RETURN with_tail
Table with result I want to obtain
Result_table= FILTER(
ALL('Cars_table'),NOT CONTAINSROW({selection_list}, 'Cars_table'[brand]))
However, the result table does not seem to interpret the 'selection_list'. There are no errors, but there is no filtering going on either...
Any help would be greatly appreciated.
Solved! Go to Solution.
Thank you! I solved it by using a measure in a table.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
10 | |
10 | |
9 | |
9 |
User | Count |
---|---|
20 | |
13 | |
12 | |
11 | |
8 |