Forum Discussion
Dynamic constant line
- 7 years ago
I'm afraid this couldn't be achieved because the value of constant line is determined by constant value, it can't be changed by slicer. As a workaround. I would recommend you to create a measure using DAX like pattern:
Measure = SELECTEDVALUE ( table[value] )
And then drag the measure to your chart.
Regards,
Jimmy Tao
Hello marcoselias I tried the steps as following. However the constant line has no value showing. The target should be 5.2bn. Any suggestions. thank you
I found, that is possible to achieve that. Using this steps:
1. Create a Measure that have the desired values, according with the value of slicer. It could be in a form of if statement. If selected value is x then y.
2. Add constant line in Analytics section. In the value, you can select the fx logo an then you can base the value of this constant line based on your measure. Now based on selection, your constant line (or threshold) will change.