Forum Discussion

kiwipeet's avatar
kiwipeet
Advocate I
6 years ago
Solved

Hide graph when no data is selected

I have a table of data containing site locations, and a related line graph showing environmental times series data belonging to that site. When I select a row in the table, the line graph shows the r...
  • Nishantjain's avatar
    Nishantjain
    6 years ago

    Have you tried using this measure

     

    replace the [Your measure] in the code below with the current measure that you are using in the line graph

     

     

    if(isfiltered([Site Name]),[Your measure], blank())

     

     

    When you use blank(), it returns no values and should leave your graph blank

     

    Hope this helps

    Nishant