Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Dear all,
I have the following situation:
I have item 1 of product class A and want to compare it to other items.
I have a slicer to select product classes for the compare items with the options A, B, C, All classes, automatic.
In the case of "Automatic", the filter should automatically chose the product class of item 1 for the compare items, in this case product class A
So far, I have a measure
Solved! Go to Solution.
Hi @Anonymous ,
Please create a measure as below to work on it.
Measure =
VAR se =
SELECTEDVALUE ( 'Table'[Option] )
RETURN
IF (
NOT ( ISFILTERED ( 'Table'[Option] ) ),
BLANK (),
IF ( se = "Automatic", "A", CONCATENATEX ( 'Table', 'Table'[Option], "," ) )
)
Pbix as attached.
Hi @Anonymous ,
Please create a measure as below to work on it.
Measure =
VAR se =
SELECTEDVALUE ( 'Table'[Option] )
RETURN
IF (
NOT ( ISFILTERED ( 'Table'[Option] ) ),
BLANK (),
IF ( se = "Automatic", "A", CONCATENATEX ( 'Table', 'Table'[Option], "," ) )
)
Pbix as attached.
You can use an expression for concantenatex
CONCATENATEX(Employees, [FirstName] & “ “ & [LastName], “,”)
so use ....IF('Produkt_Options'[Produkt]="Automatic",[measure to look up product class of first item],'Produkt_Options'[Produkt])
I'm a personal Power Bi Trainer I learn something every time I answer a question
The Golden Rules for Power BI
Help when you know. Ask when you don't!
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 29 | |
| 28 | |
| 27 | |
| 26 | |
| 19 |
| User | Count |
|---|---|
| 56 | |
| 48 | |
| 39 | |
| 28 | |
| 21 |