Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I am looking for a measure to show the values of selected value from a slicer plus one of the non selected value.
This is a sample data to explore:
Fruit | Feedback |
Apple | Good |
Orange | Good |
Grape | Better |
NA | NA |
I need to show the values from Feedback column based on slection in a slicer.
Here the slicer is Fruit Column.
The scenario is , user will select only one value from the Fruit column, eg, Apple is selected.
so the value will be displayed as "Good".
But I want a measure to show values from Apple plus NA, but user only selected Apple.
Currently my measure is
Regards
Renji
Solved! Go to Solution.
Hi @renjithpbi ,
Maybe you can modify your formula like below:
Measure =
VAR SelectedFeedback = CONCATENATEX(
VALUES('Table'[Feedback]),
'Table'[Feedback],
", "
)
VAR NAFeedback = CALCULATE(
MAX('Table'[Feedback]),
'Table'[Fruit] = "NA"
)
RETURN
IF(
ISBLANK(SelectedFeedback),
NAFeedback,
SelectedFeedback & ", " & NAFeedback
)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @renjithpbi ,
Maybe you can modify your formula like below:
Measure =
VAR SelectedFeedback = CONCATENATEX(
VALUES('Table'[Feedback]),
'Table'[Feedback],
", "
)
VAR NAFeedback = CALCULATE(
MAX('Table'[Feedback]),
'Table'[Fruit] = "NA"
)
RETURN
IF(
ISBLANK(SelectedFeedback),
NAFeedback,
SelectedFeedback & ", " & NAFeedback
)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Yes,
Apple, NA
Orange, NA
Grape, NA
is it always going to be NA the additional value?
Proud to be a Super User!
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
61 | |
60 | |
54 | |
38 | |
27 |
User | Count |
---|---|
86 | |
61 | |
45 | |
41 | |
39 |