Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi experts - is there a way I can control the line graph colour change using the drop down menu? Or is there a way to combine this in a single measure? I want to remove or hide 1 measure from the line graph so when the option in the drop down selected that graph representing 1 measure will be hidden.
Solved! Go to Solution.
Hi @jhauw74 ,
You can create field parameter for your drop down menu and then switch the measure based on the option, which may look as follows:
OptionMeasure =
SWITCH(
[Parameter],
"ID", [IDMeasure],
"Value", [ValueMeasure],
BLANK()
)
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi @jhauw74 ,
You can create field parameter for your drop down menu and then switch the measure based on the option, which may look as follows:
OptionMeasure =
SWITCH(
[Parameter],
"ID", [IDMeasure],
"Value", [ValueMeasure],
BLANK()
)
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi Scott - this is sounds what I am looking for - are you able to give me step by step as to where I can get the field parameter?
Josh.
Hi @jhauw74 ,
It is in the power bi modeling tab, click New parameter:
Best regards,
Community Support Team_ Scott Chang
you can try to create two buttons and use page navigator to switch between two similar pages.
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 68 | |
| 46 | |
| 44 | |
| 29 | |
| 20 |
| User | Count |
|---|---|
| 202 | |
| 130 | |
| 102 | |
| 71 | |
| 55 |