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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Rigoleto
Helper II
Helper II

SELECTEDVALUE()

hI,

 

I have this statement to resolve a comment value selected from a matrix, the problem or the help do I need is that if I filtered or select a record from the matrix it should be get the description from anothr tableas the code shown, I did code and run it bout only the message "multipel selection" has being shwoing, how can I select a record from the matrix and use that value like a key and resolve from another table?

 

 

AVERAGE = IF( ISFILTERED('New Line Balance Table'[NAME]), SELECTEDVALUE('Text Recommendations'[AVG_TEXT_RECOMMENDED], "Multiple Selections"), "No Selection")

2 REPLIES 2
Thejeswar
Super User
Super User

@Rigoleto,

You DAX Statement will return the value of 'Text Recommendations'[AVG_TEXT_RECOMMENDED] only when one 'New Line Balance Table'[NAME] is selected in the Slicer , when multiple Items are selected it will return "Multiple Selections" and when no selections are made in the slicer the statement would retuen "No Selections"

 

What do you mean by

 

how can I select a record from the matrix and use that value like a key and resolve from another table?

 

What is it exactly that you want to achieve? Can you clarify ??

v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Rigoleto,

 

Do you create a slicer with New Line Balance Table'[NAME]?

 

If you select the option in the slicer with New Line Balance Table'[NAME], based on the formula, your measure will always show ''Multiple Selections''.

 

I'm a little confused about your scenario, could you share some data sample which could reproduce your sceanrio and your desired output so that I can understand it better and get the solution?

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

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

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.