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

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.

Reply
cottrera
Post Prodigy
Post Prodigy

PDF Viewer

Hi 

 

I am struggling with the PDF Viewer visual.  I am testing 3 PDFs saved in my onedrive account.

cottrera_0-1627019867040.png

I have connect to the folder where these are located and added a custom column to change the format to Base64

 =Binary.ToText([Content],BinaryEncoding.Base64)

 

However when I use the visual the only PDF that is visible is the 'Test PDF Web' PDF which is 4KB in size. The other PDFs are not showing in the visual.

 

Can you please advise what steps I need to take in order to resolve this issue.

 

Richard

 

3 REPLIES 3
cottrera
Post Prodigy
Post Prodigy

Thank you  I will take a look at Chris Webbs blog post later today to see if this resolves my issue

V-lianl-msft
Community Support
Community Support

This blog may help you.

It demonstrates how you can use an M query that reads all the data from all of the files in the folder and converts them using"Binary.ToText(BinaryIn, BinaryEncoding.Base64)" to store them as text in a table.

https://blog.crossjoin.co.uk/2019/05/19/storing-large-images-in-power-bi-datasets/ 

PREVIEW
Just to let you know I read the Chriss Webb blob in  the hope it would resolve my issue. Although the M-Code provided produced no errors the outputs were blank. I have therefore contacted Chris Webb directly via his blog in a hope for an answer. 
Because of this I will not accept as a solution  yet until I have received a response from Chris and hopefully a reason why my outputs are blank . Thank you again.
RIchard 
 
 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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