The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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!