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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
sumanchintala19
Frequent Visitor

Unable to Display Azure Blob Storage Images in HTML Content Lite Visual in Power BI

I’m working on a Power BI report that needs to display images stored in Azure Blob Storage inside the HTML Content Lite visual. The images are in a private blob container. I am able to view the images on the grid visual but not on the HTML Content Lite visual. What is the best way to display them on the HTML Content Lite visual? 

 

1 ACCEPTED SOLUTION
andrewsommer
Super User
Super User

1. Ensure the Images Are Accessible via a URL

The HTML Content Lite visual requires publicly accessible URLs for images. Since your blob container is private, you'll need to generate Shared Access Signature (SAS) URLs or use a proxy service.


2. Generate SAS URLs for Each Image

Since the container is private, direct access won’t work. Use a SAS token to generate temporary URLs for the images.

Steps to Generate SAS URLs:

  1. Go to Azure Portal → Storage Account → Blob Containers.
  2. Select the private container where the images are stored.
  3. Click on a blob (image) and generate a SAS token and URL.
  4. Use the SAS URL in Power BI.

    💡 Tip: If you need to display multiple images dynamically, store the SAS token in your dataset and concatenate it with the blob URL.


    3. Store SAS URLs in Your Dataset

    Modify your dataset to include the full SAS URL for each image. If the blob name is stored in a column (ImageName), create a calculated column in Power Query or DAX:

    Power Query (M) Example:

     

    M
    CopyEdit
    = Table.AddColumn(Source, "ImageURL", each "https://yourstorageaccount.blob.core.windows.net/yourcontainer/" & [ImageName] & "?sv=yourSASsignatu...

     

     

    DAX Example:

     

    DAX
    CopyEdit
    ImageURL = "https://yourstorageaccount.blob.core.windows.net/yourcontainer/" & Table[ImageName] & "?sv=yourSASsi...

     

     

    4. Display Images in HTML Content Lite Visual

    Once your dataset has valid SAS URLs, use the following HTML inside the HTML Content Lite visual:

     

    html
    CopyEdit
    <img src="{ImageURL}" style="width:100%; height:auto;">
     

    💡 Ensure the column is categorized as "Image URL" in Power BI.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @sumanchintala19 ,
We haven't heard back from you regarding our last response and wanted to check if your issue has been resolved.
If our response addressed your query, please mark it as Accept Answer and click Yes if you found it helpful.
If you have any further questions, feel free to reach out.
Thank you for being a part of the Microsoft Fabric Community Forum!

Anonymous
Not applicable

Hi @sumanchintala19 ,
I just wanted to kindly follow up to see if you had a chance to review the previous response provided by community members. I hope it was helpful. If yes, please Accept the answer so that it will be helpful to others to find it quickly.
Thank you.

Anonymous
Not applicable

Hi @sumanchintala19 ,
May I ask if you have gotten this issue resolved?
If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.

Thank you.

andrewsommer
Super User
Super User

1. Ensure the Images Are Accessible via a URL

The HTML Content Lite visual requires publicly accessible URLs for images. Since your blob container is private, you'll need to generate Shared Access Signature (SAS) URLs or use a proxy service.


2. Generate SAS URLs for Each Image

Since the container is private, direct access won’t work. Use a SAS token to generate temporary URLs for the images.

Steps to Generate SAS URLs:

  1. Go to Azure Portal → Storage Account → Blob Containers.
  2. Select the private container where the images are stored.
  3. Click on a blob (image) and generate a SAS token and URL.
  4. Use the SAS URL in Power BI.

    💡 Tip: If you need to display multiple images dynamically, store the SAS token in your dataset and concatenate it with the blob URL.


    3. Store SAS URLs in Your Dataset

    Modify your dataset to include the full SAS URL for each image. If the blob name is stored in a column (ImageName), create a calculated column in Power Query or DAX:

    Power Query (M) Example:

     

    M
    CopyEdit
    = Table.AddColumn(Source, "ImageURL", each "https://yourstorageaccount.blob.core.windows.net/yourcontainer/" & [ImageName] & "?sv=yourSASsignatu...

     

     

    DAX Example:

     

    DAX
    CopyEdit
    ImageURL = "https://yourstorageaccount.blob.core.windows.net/yourcontainer/" & Table[ImageName] & "?sv=yourSASsi...

     

     

    4. Display Images in HTML Content Lite Visual

    Once your dataset has valid SAS URLs, use the following HTML inside the HTML Content Lite visual:

     

    html
    CopyEdit
    <img src="{ImageURL}" style="width:100%; height:auto;">
     

    💡 Ensure the column is categorized as "Image URL" in Power BI.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors