Forum Discussion

Bob639's avatar
Bob639
Regular Visitor
1 year ago
Solved

Multiple choice segment

Hello I created a multiple choice segment. I am looking to define by a measure that they are the elements to select in the segment. I created the following measurement that only works if the choic...
  • PhilipTreacy's avatar
    PhilipTreacy
    1 year ago

    Bob639 

     

    Use ISFILTERED to check if there's a selection in the slicer

     

     

    Select_Bat = 
    
    VAR _Selected = VALUES('Table'[Bat ID])
    
    RETURN
    
    IF( 
    
        ISFILTERED('Table'[Bat ID]), CONCATENATEX(_Selected, 'Table'[Bat ID], ", "),
        
        "No value selected"
        
    )

     

     

    Regards

     

    Phil