Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago

Generate buttons from source

I have a Power BI with 9 pages. Page 1-3, 4-6, 7-9 are belonging to 3 groups. I want to add 9 buttons to jump to each page with 3 different colours according to their groups.

It is easy to add buttons manually to jump to each page and change the button colours. But it is very time consuming to maintain them. In the future, if we change group, or adding more pages, I need to update all 9 pages manually.

Is it possible to generate button from a data source? Can we do it using programming approach? I would love to avoid the manual update page by page.

2 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Miguel, thanks for reply. Yes I have tried page navigator. In my case the navigator will generate 9 buttons with same colour. It doesn't allow customisation (I need to change colour or repesentating the hierarchy in other way).

      I am researching on approach that allow me build a table like:

      Page 1, red

      Page 2, red

      Page 3, red

      Page 4, green

      Page 5, green

      Page 6, green

      Page 7, blue

      Page 8, blue

      Page 9, blue