How to show photos in a Power BI table

A photo next to each person's name, a product picture next to each item: Power BI shows images in tables, matrices and slicers from a column of image URLs. The steps, where the images may live, and why some never appear.

Short answer: put the image's web address in a column, then in Table view select that column and set Column tools, Data category to Image URL. Add it to a table, matrix or slicer and Power BI shows the picture. The images must be anonymously accessible, with two exceptions: OneDrive for home embed codes and OneLake file links. Images on SharePoint or OneDrive for work or school, which need a sign-in, do not show.

A team page with each person's photo, a product list with the item next to its sales: a picture turns a list of names into something people recognise at a glance. Power BI can do it without a custom visual.

How do you set it up?

  1. 1
    A column of URLsone image address per row, e.g. https://example.com/team/sam.jpg
  2. 2
    Data categoryTable view, Column tools, Data category: Image URL
  3. 3
    Add to a visualtable, matrix or slicer
  4. 4
    Size the imagesFormat, Image size: height and width
From a column of links to pictures in a table

Where can the images live?

WhereWorks?
A public website or public storageYes
OneDrive for home, with an embed codeYes in Desktop and the service; not in the mobile apps
OneLake file linkYes, mobile apps included
SharePoint, OneDrive for work or schoolNo: they require sign-in

Why does an image not show?

  • It needs a sign-in. Open the URL in a private browser window; if it asks you to log in, Power BI cannot load it.
  • The column is still Text. Set the data category to Image URL.
  • It is a page, not a picture. The address must point to the image file itself, not to a gallery page that contains it.
  • On a phone it is blank. The mobile apps show only anonymous URLs and OneLake links.

Should you use AI headshots?

For a demo or a template, AI-made headshots of people who do not exist avoid using real faces. For a real team page, use real photos, with each person's agreement. A photo of an identifiable person is personal data.

Where can you check this?

Where do you start?

Build the table first: see the table visual and the matrix visual. For pictures that are not in rows, see text boxes, images and shapes.

Keep reading

More from the blog.

Every post

Next

Building this? Say hello.

A question about this post, a pattern you would build differently, or the next thing you want written out: Behnia reads every message.