Forum Discussion
Analitika
Post Prodigy
1 year agoButton dynamic color in Power BI
Hello, Please help me to make that whenever I press on button it changes color. I have two buttons sale1 sale2. Default is selected sale1 If I select sale2 then color changes of sale1 and sale2 b...
- 1 year ago
Hi Analitika
Can you please try the below steps.
1. Just Add two bookmark
a. Sales1b. Sales2
2. Now Go to insert and select Bookmark navigator.
Here is your result.
You can adjust your background as per your preference using Format navigatorIf this answers your questions, kindly accept it as a solution and give kudos.
mdaatifraza5556
Super User
1 year agoHi Analitika
If i am not wrong.
I am assuming you have two measure sales1 and sales2.
1. Create a field parameter
Change the slicer into tile
2. Use the below dax for the result
Selected Sales =
SWITCH(
SELECTEDVALUE(Parameter[Parameter Order]),
0, [Sales1],
1, [Sales2]
)
Result
IF this answers your questions, kindly accept it as a solution and give kudos.
Analitika
Post Prodigy
1 year agoI am not using slicer but two buttons.
- mdaatifraza55561 year ago
Super User
Hi Analitika
Can you please try the below steps.
1. Just Add two bookmark
a. Sales1b. Sales2
2. Now Go to insert and select Bookmark navigator.
Here is your result.
You can adjust your background as per your preference using Format navigatorIf this answers your questions, kindly accept it as a solution and give kudos.