Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello Experts,
I need your help in this. I have a bar chart, which shows sales according to the selection in the Slicer.
For eg, if we select State = Alberta, then bar chart dispalys the yearly increase in the Sales for Alberta.
For each state in the Slicer, we have a target value, called Statewide target, which is a field in my data source.
Now on my bar graph, i want to display a Constant Line, which is Statewide Target.
I have checked the Constant Line option in Analystics Pane, but it does not give my any option to add the field to pick the value.
Please help, how can i achieve this requirement.
Thanks.
Hi,
Write this measure
Target = MIN(Data[Statewide target])
Drag this to the visual and show it as a line.
Hi @Anonymous,
Based on my test, if you use the constant line function I am afraid you could not achieve a dynamic value, could you have tried with Line and clustered column chart to add a line value?
And could you post your sample data and your desired result if possible that I could test for you?
Regards,
Daniel He
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
96 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
88 | |
63 |