Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Button switch pages based on segment state

Hi!

 

I was wondering if it's possible to make a button switch between pages based on the state of a segment. 

For instance: I have a segment that switches between 'USA' and 'China'. I have a button that opens up another page showing more information on a table (bigger, more detailed table). I want that button to open the page 'Table - China' when the segment has 'China' selected and open 'Table - USA' when 'USA' is selected on the segment.

 

Is that possible? Is there another way of achieving the same result?

 

Thanks,

Xencemaa

  • MFelix's avatar
    MFelix
    2 years ago

    Hi Anonymous ,

     

    Where is the Sgement coming from? is it a column a measure?

    You just need to reference the column from where that USA/China values are coming from, i called it segment because it was the name you gave on your question.

5 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      How can I reference the segment in the measure? I do not have a column 'Segment'

      • MFelix's avatar
        MFelix
        Super User

        Hi Anonymous ,

         

        Where is the Sgement coming from? is it a column a measure?

        You just need to reference the column from where that USA/China values are coming from, i called it segment because it was the name you gave on your question.