Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
Hi,
I have a line chart showing revenue growth year on year.
I want to colour the plot area background conditionally.
I.e. everything in the background below 0% e.g. negative growth I want the background to be red and for everything above 0% e.g. positive growth I want the background to be green,
I made an image with the green/red and put that as the background but as I change the filters the 0% isn't always in the same place which means the image in the background doesn't fit.
Is there a way to do this dynamically?
Thanks,
O
Solved! Go to Solution.
Hi @PowerBIWhat,
Here is Line chart with conditional background colour formatting which will help you to get conditional background if the line value is positive then are behind it will be green and red otherwise.
Download link for the custom visual file in this page,
https://pbivizedit.com/gallery/line-chart-with-conditional-background-colour-formatting
This was made with our Custom Visual creator tool PBIVizEdit.com. With this tool,
Give this a shot and let us know if you face any problem/errors.
You can use the editor to modify your visual further (some modifications cannot be done in Power BI window and have to be in editor).
Thanks,
Team PBIVizEdit
Hi @PowerBIWhat,
Here is Line chart with conditional background colour formatting which will help you to get conditional background if the line value is positive then are behind it will be green and red otherwise.
Download link for the custom visual file in this page,
https://pbivizedit.com/gallery/line-chart-with-conditional-background-colour-formatting
This was made with our Custom Visual creator tool PBIVizEdit.com. With this tool,
Give this a shot and let us know if you face any problem/errors.
You can use the editor to modify your visual further (some modifications cannot be done in Power BI window and have to be in editor).
Thanks,
Team PBIVizEdit
Hi @PowerBIWhat ,
Not very clear what you mean... Can you describe the result you want in the form of pictures, we can help you better.
If convenient, can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
93 | |
92 | |
85 | |
83 | |
49 |
User | Count |
---|---|
150 | |
142 | |
112 | |
73 | |
55 |