AUS-DOH-Safety-and-Quality / PowerBI-SPC

A free and open-source PowerBI custom visual for SPC charts
GNU General Public License v3.0
39 stars 14 forks source link

Issues creating a PDF of PowerBI file with SPCs #308

Open hannaho1 opened 1 month ago

hannaho1 commented 1 month ago

I am having an issue when I try to PDF the PowerBI file with the SPC charts in that not all of the charts appear in the PDF, it's as though the graphs can't load as quickly as the PDFing is taking place Is anyone else having this issue? Thanks :)

shauneccles commented 1 month ago

I've noticed this intermittently as well - some portions of the visual aren't rendered in the exported PDF.

Appears to happen more often when using lower power laptop, so would agree with your assessment that likely due to graph load time.

andrjohns commented 1 month ago

I am having an issue when I try to PDF the PowerBI file with the SPC charts in that not all of the charts appear in the PDF, it's as though the graphs can't load as quickly as the PDFing is taking place Is anyone else having this issue? Thanks :)

Interesting! The visual uses the recommended logic for notifying PBI when processing/rendering has finished, which is then supposed to be used by the export function.

A couple of things to double-check:

shauneccles commented 1 month ago

Are all of the visuals the AppStore version? The Dev/Github version does not support exports

I'm using the github dev release on Power BI Desktop so this may be why

Is there a consistent chart type or settings combination that fails for you?

I've only picked it up twice, and it was just c Charts with monthly data going back 3 years, nothing huge.

hannaho1 commented 1 month ago

Yes I am using the appstore version, (or I think I am) - how would I check this please? And no unfortunately there doesn't seem to be any consistency in what doesn't render, all individual measurement charts In some instances I have up to 9 graphs per page, would this be likely to be an issue?

andrjohns commented 1 month ago

Yes I am using the appstore version, (or I think I am) - how would I check this please?

If you right-click on the visual and select the 'About' option:

image

Then a window with detailed info will pop up, and you should see details that match the below:

image

And no unfortunately there doesn't seem to be any consistency in what doesn't render, all individual measurement charts In some instances I have up to 9 graphs per page, would this be likely to be an issue?

Odd! I'll try making some progressively larger reports/pages today and see if I can replicate a breakage

hannaho1 commented 1 month ago

The details do match, so I am using the appsource version My report has 18 pages as well (although not all have 9 graphs on each page!) Although this is large I would say it is fairly typical of an IPR report which seems to be what many colleagues are using this tool for too Thanks very much for your help!