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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
KevinSGoff
Helper I
Helper I

Specifying URLs dynamically in a PBI report in the cloud

Hi, 

I know that I can show images dynamically by stuffing public URL for an image into a PBI dataset/report that we push up to the cloud.

However, in our situation we have a ton of images on a google drive.  

 
If I type that into a browser I get the image displayed (it's a fashion dress).   The JPG that you'll see in the image is this:
T8166M-IVORY-BLUE-ROYAL-OG-5.jpg 

However, I don't know how to "encode/translate" that into a URL that I can put into a PBI column that I'm using.
Everything I try to push in, using that google drive definition, doesn't seem to work for me.
 
Thanks!
Kevin 
1 ACCEPTED SOLUTION
SolomonovAnton
Super User
Super User

Hi Kevin,

To dynamically show images stored in Google Drive within a Power BI report, you need to transform the Google Drive shareable link into a direct image URL. Power BI only renders images from direct URLs (ending in .jpg, .png, etc.), not HTML viewer pages that Google Drive typically generates.

🔧 Step-by-step Solution

  1. Get the Google Drive Shareable Link
    Right-click your image in Google Drive → Click Get Link → Ensure visibility is set to Anyone with the link. You’ll get a URL like:
    https://drive.google.com/file/d/FILE_ID/view?usp=sharing
  2. Convert it to a Direct Link
    Replace that with the direct download format:
    https://drive.google.com/uc?export=view&id=FILE_ID
    For example:
    https://drive.google.com/uc?export=view&id=T8166M-IVORY-BLUE-ROYAL-OG-5
    (Use the actual file ID string from the original URL.)
  3. Update the Column in Power BI
    In Power BI Desktop, add a new column (in Power Query or DAX) that constructs these URLs. For example, if you have a column with File IDs:

    ImageURL = "https://drive.google.com/uc?export=view&id=" & Table[FileID]
  4. Display the Image
    Add a table or matrix → place the new ImageURL field → set the column data category to Image URL (Model view → Advanced properties).

⚠️ Important Notes

  • Google Drive links must be publicly accessible — if access is restricted, images won't render in Power BI Service.
  • Use small images if possible, as loading many images over the cloud may slow down your report.

Try creating a few links this way and test them inside your report visuals. 

✔️ If my message helped solve your issue, please mark it as Resolved!

👍 If it was helpful, consider giving it a Kudos!

View solution in original post

5 REPLIES 5
v-saisrao-msft
Community Support
Community Support

Hi @KevinSGoff,

We haven’t heard back from you in a while regarding your issue. let us know if your issue has been resolved or if you still require support.

 

Thank you.

v-saisrao-msft
Community Support
Community Support

Hi @KevinSGoff,

Checking in to see if your issue has been resolved. let us know if you still need any assistance.

 

Thank you.

v-saisrao-msft
Community Support
Community Support

Hi @KevinSGoff,

Have you had a chance to review the solution we shared by @SolomonovAnton @aj1973  If the issue persists, feel free to reply so we can help further.

 

Thank you.

SolomonovAnton
Super User
Super User

Hi Kevin,

To dynamically show images stored in Google Drive within a Power BI report, you need to transform the Google Drive shareable link into a direct image URL. Power BI only renders images from direct URLs (ending in .jpg, .png, etc.), not HTML viewer pages that Google Drive typically generates.

🔧 Step-by-step Solution

  1. Get the Google Drive Shareable Link
    Right-click your image in Google Drive → Click Get Link → Ensure visibility is set to Anyone with the link. You’ll get a URL like:
    https://drive.google.com/file/d/FILE_ID/view?usp=sharing
  2. Convert it to a Direct Link
    Replace that with the direct download format:
    https://drive.google.com/uc?export=view&id=FILE_ID
    For example:
    https://drive.google.com/uc?export=view&id=T8166M-IVORY-BLUE-ROYAL-OG-5
    (Use the actual file ID string from the original URL.)
  3. Update the Column in Power BI
    In Power BI Desktop, add a new column (in Power Query or DAX) that constructs these URLs. For example, if you have a column with File IDs:

    ImageURL = "https://drive.google.com/uc?export=view&id=" & Table[FileID]
  4. Display the Image
    Add a table or matrix → place the new ImageURL field → set the column data category to Image URL (Model view → Advanced properties).

⚠️ Important Notes

  • Google Drive links must be publicly accessible — if access is restricted, images won't render in Power BI Service.
  • Use small images if possible, as loading many images over the cloud may slow down your report.

Try creating a few links this way and test them inside your report visuals. 

✔️ If my message helped solve your issue, please mark it as Resolved!

👍 If it was helpful, consider giving it a Kudos!

aj1973
Community Champion
Community Champion

Hi @KevinSGoff 

Not clear what you want to achieve but I think you need to create an excel file with with 2 columns or better Add Table in Power Query, one column contains the name of the images and the other contains the URL of the image. Add the Excel file to your Dataset. 

aj1973_0-1753303087563.png

 

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.