Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
renjithpbi
Frequent Visitor

Dax formula for Selected Value plus one of non-selected value

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:

FruitFeedback
AppleGood
OrangeGood
GrapeBetter
NANA

 

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 

Measure = CONCATENATEX(VALUES('Table'[Feedback]),  'Table'[Feedback] , ", ")
 
Thanks in Advanceselected value1.PNG
I am expecting like this
 
renjithpbi_0-1737478404827.png

Regards

Renji

1 ACCEPTED SOLUTION
Anonymous
Not applicable

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
)

vkongfanfmsft_0-1737599592809.png

vkongfanfmsft_1-1737599603883.png

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.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

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
)

vkongfanfmsft_0-1737599592809.png

vkongfanfmsft_1-1737599603883.png

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.

renjithpbi
Frequent Visitor

Yes, 

Apple, NA

Orange, NA

Grape, NA

vanessafvg
Community Champion
Community Champion

is it always going to be NA the additional value?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.