cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mattkarriker Regular Visitor
Regular Visitor

Displaying Images in Grid, table, or Matrix

Can any provide guidance for displaying images using Power BI?  I have a group of users that want to use images in reports.  I am able to meet this request using Image URLs in the data.  The issue is with how these images are displayed.  Different visuals seem to render different results and behavior.  I have tried the matrix, table, and image grid visual.  Table and Matrix issues are the same. The image Grid is a little different.  The goal here is to display a matrix type viual with Images on columns and values on rows. The image a top the matrix is an image of the item and values are stats like total sales, Avg Price, etc.  

 

My issues with the Matrix and Table are that the image does not scale properly for display.  Vertical the matrix does not give me the height of the image I am looking for and I cannot seem to control it. Horizontal shrinking of column width will cut off the image and not resize to fill the space in the column header.  

 

The image grid does provide the vertical height I am looking for.  But in grid mode will not allow me to stretch the visual to a line a top of the matrix visual with the measures we wish to display.  For example we have 20 items and need 20 images to show abocve the data.  I can set the Image Grid maximum column value to 20.  But stretching and shrinking the image grid make the images wrap to a second row.  Definatly not what I want.  

 

Another visual I have tried is the chiclet slicer.  This visual gives me the look I am going for by being able to set the chiclet size and display the image as intended.  However the chiclet slicer doesnot all ow me to add visual level filters to only show the 20 items that are flagged for display.  

 

If anyone has any insight or suggestions on visuals to try I would love to hear from you.  I have spent at least a month pushing off this request from my users becuase I cannot find the right combination of visual/image display they are requesting. I am running out of time any insight this community can provide is greatly appreciated.  

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: Displaying Images in Grid, table, or Matrix

Just a table visual, check this:-

 

I have a chiclet slicer and a table visual:-

 

 

 Capture.PNG

 

Now, I'll just select 2 values in below table (make sure edit interactions is set as below)

 

Capture.PNG

Marking in below table will remove data from chiclet.

 

Now hide the below table by placing a rectangle shape box over it.

You'll have to be careful with edit interactions here. Make sure the table visual only interacts with chiclet. And no other visual interacts with this table.

 

5 REPLIES 5
Anonymous
Not applicable

Re: Displaying Images in Grid, table, or Matrix

Focusing only on setting visual level filter for chiclet slicer. Below is what you can do:-

 

Create another table, say test, where only 20 items are marked that are falagged for display. 

Go to Edit Interactions, click on new test table and click on mini-filter icon over your chiclet slicer.

Keep your test table hidden and make sure any other visual cannot interact with test table.

 

Images are difficult to handle in matrix/table. If the table will always be static you can import images to powerbi and place image boxes over table/matrix to make it look like a single visual

shebr Member
Member

Re: Displaying Images in Grid, table, or Matrix

Hi @mattkarriker

 

Yes you can import and use images.

 

What you need to do is have a data set that has a link direct to the image.

  1. Click on that column in the fields section, and from the Modeling tab at the top, under Data Category select Image URL.
  2. Then add that icon to either a table or matrix visual.

You can see in the image below I have done this and placed icons in for file types in a matrix table and use them as filter. The video for this is below (doesn't show how to do the images but shows them in use) https://youtu.be/c7kmy80ab_Y

 

Let me know how you get on.

 

Thanks

 

shebr

 

image link.JPG

 

 

Community Support Team
Community Support Team

Re: Displaying Images in Grid, table, or Matrix

Hi @mattkarriker,

 

You could create the table or matirx to show images like below?

 

Capture.PNG

 

For your issue, I cannot reproduce as yours. If it is conventient, could you share a dummy pbix file which can reproduce the scenario, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)

 

Reference:

Use images in Power BI 

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
mattkarriker Regular Visitor
Regular Visitor

Re: Displaying Images in Grid, table, or Matrix

@Anonymous Thank you for your suggestion. I like the chiclet slicer and have tried to use it for this project. When you suggest creating a new table, are you suggesting a table in the data model or a table visual in the report itself?  I have a table that filters to the correct items in the report.  Setting this table to filter the chiclet slicer does not seem to work in all cases.  The initial load and filtering seems to give the correct results.  As I use slicers on the page the table used to filter the chiclet slicer stays correct but the chiclet slicers itself does not.  Which made me want to make sure I was following your instructions corretly.

Anonymous
Not applicable

Re: Displaying Images in Grid, table, or Matrix

Just a table visual, check this:-

 

I have a chiclet slicer and a table visual:-

 

 

 Capture.PNG

 

Now, I'll just select 2 values in below table (make sure edit interactions is set as below)

 

Capture.PNG

Marking in below table will remove data from chiclet.

 

Now hide the below table by placing a rectangle shape box over it.

You'll have to be careful with edit interactions here. Make sure the table visual only interacts with chiclet. And no other visual interacts with this table.