Forum Discussion

Yuval_Marnin's avatar
Yuval_Marnin
Frequent Visitor
7 years ago
Solved

SELECTEDVALUE not working

Hi,

I trying to use SELECTEDVALUE function and it is not returning any value after I filter the reoprt when pressing one bar at Bar chart.

 

my syntex is very simple:

 

test = SELECTEDVALUE(Y2017[Country])

 

any ideas what am I doing wrong?

 

 

 

  • TomMartens's avatar
    TomMartens
    7 years ago

    Hey,

     

    the measure Measure looks like this:

    Measure = SELECTEDVALUE(Y2017[Country])

    Assigning the this measure to title of the text box like so:

    Creates a report like this:

    Unfortunately the title will of the chart itself will not be updated, not sure if this is a bug or by design. Maybe you want to create an issue.

     

    Regards,

    Tom

     

9 Replies

    • Yuval_Marnin's avatar
      Yuval_Marnin
      Frequent Visitor

      Fetching the selected value. In the example "Denemark"

      • MattAllington's avatar
        MattAllington
        Community Champion

        Where are you expecting to see the selected value?  I only see one visual - the one you are selecting. Please explain exactly what you expect to see.