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 expert comunity,
I am bit struggeling to find a right chart for the Conditionally formated LINE and BAR chart.
Requirements:
My current attempt in the Power BI:
Problems I am facing in Power BI:
My desired result:
(without CY and LY labeling) this is just for your navigation.
I have also tryied KPI Column chart by MAQ, but it does not have a capabality with LY values.
Looking forward for your suggestions.
Martin
If you FORMAT your input data to have multiple dimensions based on color needed, you can then use either “Stacked Column Chart” or “Line & Stacked Column Chart”. The primary X axis dimension is Time, then add Secondary X-axis dimension (e.g. Type). Adding TYPE COLOR as the Legend will then produce the graph. Note I added additional Type (z) which is blank for cosmetic spacing. Note also included is a target line by using “Line & Stacked Column”. see example below w/input data & visual settings
For the color problem, it is not possible to use conditional formatting for line and column chart.
I come up with some ideas to work around this problem, please let me know more about your data so that i can figure out.
Such as:
Is your data like this
Then the measure added to Value are like
%FO-CY = MAX([CY])/MAX([FO]) %FO-LY = MAX([LY])/MAX([FO])
Best Regards
Maggie
For above requirement, here are two workarounds.
1.In line and column chart, select "Format"->"Data Labels"->"Customize series"->select "Target", then turn off "show" button.
then add a text box with value "50%"
2. change the visual to Clustered column chart, then add a constant line on it with value "50%".
Best Regards
Maggie
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 |
---|---|
110 | |
97 | |
78 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |