Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
Hello,
I'm trying to use a constant line into a stacked bar chart.
I want that the constant line is dynamic based on an filter.
This filter had three different values
If I select for example "Urgent" the constant line must be 98% and when selected "Normal" the constant line must be 93%.
Hopefully someone can help me.
Jeffrey
Solved! Go to Solution.
Hi @Jeffrey_VC
you may try something like
Line =
IF (
NOT ISEMPTY ( 'Table' ),
SWITCH (
SELECTEDVALUE ( SlicerTable[Value] ),
"Calamity", 0.90,
"Normal", 0.93,
"Urgent", 0.98
)
)
Hi @Jeffrey_VC
you may try something like
Line =
IF (
NOT ISEMPTY ( 'Table' ),
SWITCH (
SELECTEDVALUE ( SlicerTable[Value] ),
"Calamity", 0.90,
"Normal", 0.93,
"Urgent", 0.98
)
)
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.