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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.