Forum Discussion
Conditional Formatting of Button Tooltips
- 4 years ago
Hi, Anonymous
I don't understand what the dynamic you want is. First of all, the page name can't be automatically displayed by any dax function, you must name it directly if you want to use it.
Secondly, if you use the button to jump to other pages, isn't it fixed? Why do you need dynamic?
Best Regards,Community Support Team _ Janey
Anonymous , If should be selectedpage name
Report Page Button Tooltip =
SWITCH(selectedvalues(Page[PageName]) ,
"Report Page 1", "Now showing Report Page 1...",
"Report Page 2", "Now showing Report Page 2...",
""
)
Same formula that you use in action, you should use in the tooltip
refer if needed
Display only one page in the report, Hide rest: https://youtu.be/d4H0GKUH0r4
- Anonymous4 years agoNot applicable
Thanks amitchandak for quick reply. I am wondering however that how to do conditional navigation first of the pages using Report Page name? I have a datatable like this. Typically you would use some rules based on the data or in the past I have used USERNAME() function to restrict the page navigation for certain users. In this case however, I am bit lost as to how first achieve dynamic page navigation using page names, (and then I guess the same logic will apply to button tooltips)? I have added buttons with Text on them as "1", "2", "3" and so on...
Page_Datatable = DATATABLE ( "Sr No", INTEGER, "Report Page", STRING, { { 1, "Report Page 1" }, { 2, "Report Page 2" } } )