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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
PatrickMcLeanGL
Frequent Visitor

How to use SELECTEDVALUE for multiple values selection?

PatrickMcLeanGL_0-1747150015511.png

I am trying to get my card visual to display a sum of the selected values in the slicer but its throws a blank if I select more than one name.

 

1 ACCEPTED SOLUTION
ExcelMonke
Super User
Super User

Hello,

You can consider removing the whole calculate & selectedvalue clauses in your measure (unless I'm missing something you are trying to achieve). Basically, you'll just have the following DAX:

New Paid Measure = 
SUM('glx ADP Hours'[Hours])

As long as your models are set up correctly (i.e. the names list is a dim connected/a field in your fact table) and the slicer is interacting with the card, it should sum for only the names you are selecting. 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @PatrickMcLeanGL,

Thanks for reaching out to the Microsoft fabric community forum.

It looks like you are trying to finda way to display the sum of selected values using card visual. As @PatrickMcLeanGL already responded to your query, kindly go through his response and check if it solves your issue. 

 

I would also take a moment to thank @ExcelMonke, for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.

 

If I misunderstand your needs or you still have problems on it, please feel free to let us know.  

Best Regards,
Hammad.
Community Support Team

 

If this post helps then please mark it as a solution, so that other members find it more quickly.

Thank you.

ExcelMonke
Super User
Super User

Hello,

You can consider removing the whole calculate & selectedvalue clauses in your measure (unless I'm missing something you are trying to achieve). Basically, you'll just have the following DAX:

New Paid Measure = 
SUM('glx ADP Hours'[Hours])

As long as your models are set up correctly (i.e. the names list is a dim connected/a field in your fact table) and the slicer is interacting with the card, it should sum for only the names you are selecting. 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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