Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Visual changes when exporting to PDF or in PNG

Hello, 

 

I have created an area chart that shows different colored areas depending on running total of different measures. The chart shows exactly how i designed it and want it in the Power BI Desktop application and when I post it to the service, but as soon as I PDF the dashboard or share it via the "schedule" option, the chart colors change. The color change now shows the entire area under the top post line as that color (in this case red) instead of the different bands of colors between each line (red area should only go to yellow line). 

 

Any idea why this is happening? Again, this only shows in the .PNG, .PDF, and in the preview image in a scheduled distribution, it still shows with the colors I built it with in the Service and the desktop app. 

 

Thank you!! 

 

How it looks in the desktop app & service (correct):

 

Correct graphCorrect graph

 

How it looks in PDF (error):

How it looks when I PDF (error)How it looks when I PDF (error)

 

Any help? Is this just a bug?

 

10 REPLIES 10
ImPalaBI
Helper I
Helper I

Did you ever found a solution?
I´m having the exacto issue 3 years later!

Same issue here but with a simple pie chart. I want the same chart side by side with different year filter to compare but it reverses the colors in one and not the other when I export, whether to PDF, PowerPoint, or png. It is bizarre. 

v-xiaotang
Community Support
Community Support

Hi @Anonymous 

Can we close this thread now if there is no other question? It would be nice if you can accpet my answer as the solution. Thanks 🙂

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly

v-xiaotang
Community Support
Community Support

Hi @Anonymous 

I've tested area chart, and it works fine.

You can try to update your desktop to latest version and test again,

in desktop,

vxiaotang_0-1633416900367.png

in pdf,

vxiaotang_1-1633416974863.png

 

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

 

Hi Xiao Tang,

 

I just updated my version of Power BI to the most recent version below: 

Version: 2.97.921.0 64-bit (September 2021)

 

Still having the same issue..

 

RobSchulke_0-1633537811450.pngRobSchulke_1-1633537842718.png

 

Hi @Anonymous 

Can we close this thread now if there is no other question?  It would be nice if you can accpet the answer helpful as the solution. Thanks 🙂

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

The proposed solutions in this thread did not solve the issue. I even started with a blank workbook and did the same thing and still have the same isues as above. 

 

When you tested the PDF are you pdfing it after publishing to the service?

Hi @Anonymous 

yes, the pdf was exported from the report on the Service. and I cannot reproduce the issue with my sample file.

could you share a sample file? I'll test it. 

Kindly note: you can remove raw data and replace it with bogus data to protect your sensitive information.

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

Hi @Anonymous 

Thanks for your reply.

Could you share a sample? so that we can test it to find the reason.

 

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

AllisonKennedy
Super User
Super User

@Anonymous I'm guessing you're using the Area Chart, that layers the colors? If you wanted to do more DAX calculations you could use the Stacked Area Chart instead- that might solve your problem? I have not tested my theory, but I'm guessing it's a bug that the PDF can't handle the multiple color codes provided below the yellow line, so just picks one (not sure how it decides: first? boldest?) 


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors