Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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
)
)
User | Count |
---|---|
59 | |
21 | |
18 | |
16 | |
15 |
User | Count |
---|---|
85 | |
54 | |
45 | |
39 | |
21 |