Forum Discussion

PatrickMcLeanGL's avatar
PatrickMcLeanGL
Frequent Visitor
1 year ago
Solved

How to use SELECTEDVALUE for multiple values selection?

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.  
  • ExcelMonke's avatar
    1 year ago

    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.