Forum Discussion
Dynamic Brand Navigation Based on Country Selection (Hide Pages with No Data)
- 4 months ago
Hi As_analyst , there are many ways to achieve this. I can see you have created separate pages for all the brands. Do you have requirement of different KPIs / designs for each brand? Otherwise, a better approach would have been to use drill-through button option. Howeever considering you have different pages and you want to expose all the brand pages to all counries users, best option I think would be to create a landing page. Where user will select Country (single select), hence a brand (single select) and then have a button which will be enabled when a brand / product is selected.
Create a simple measure:
selected_brand = SELECTEDVALUE(Pharma[BRAND_NAME])
use this as button destination.and main page design something like below:
Well, I understand, UI wise, this is not the beset design, however you can certainly play around with formatting, alignment to make it look better.
Hope this helps to resolve your problem. If it does, then please mark it as solution.
Thanks - Samrat
Hi As_analyst
It is not currently possible to dynamically show or hide individual items within a navigation button. A workaround is to use separate buttons and control their destination using conditional formatting, as suggested by samratpbi , and also make them appear invisible by setting their transparency via conditional formatting. Note that the buttons still exist in the background—they are simply rendered as transparent.