Forum Discussion
Shading area between two lines
- 5 years ago
Hi Dunner2020 ,
It seems to be impossible to achieve in Power BI now. I didn't find any custom visual for it.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
- 3 years ago
I've figured out a workaround. Use the Power KPI Custom Visual: https://appsource.microsoft.com/en-us/product/power-bi-visuals/wa104381083?tab=overview
You want to use the top and bottom lines as Area and turn Area Opacity to 100. For the minimum line, choose white (or whatever your background color is) and for the maximum line, choose whatever you want your area color to be.
Then, I'd turn off the Y Axis Reference Lines, so that the lines in the background don't show up. The result should look something like this:
In this example, I've added an average line and a regular line. If you need help with that, let me know.
- v-deddai1-msft5 years agoCommunity Support
Hi kirbynguyen ,
Would you please show us sample pbix file? Thank you for support.
Best Regards,
Dedmon Dai