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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Dynamic Image based on Slicer

Looking for some suggestions.

 

We have business groups around the country, all with their own logo.  When a user selects a specific market, I would like the proper logo to appear.  If a user selects more than one market, I would like to use a generic image.

 

I would appreciate any insight that would allow me to create or modify the dataset so that these behaviors are implemented within the dashboards.

17 REPLIES 17
v-sihou-msft
Microsoft Employee
Microsoft Employee

@Anonymous

 

For your requirement, you create a table with market name and logo image URL columns. Then you can make the multiple row cards to display logo based on slicer selection. But it's not possible to display a "general" image when selecting more than one entry.

 

3.PNG

 

1.PNG

2.PNG

 

Regards,

Anonymous
Not applicable

What if the image I want to display is a screenshot form my PC, and does not have a URL? How can I link this to the filter?

Anonymous
Not applicable

I'm trying to do the same thing, but the image is still not showing. It is giving me only the text of the URL rather than the actual preview of the image. Can you please explain more how you made the actual image to display? 

 2018-01-22_12-31-28.png

Anonymous
Not applicable

@Anonymous

 

  1. Select Data in your left rail ribbon (looks like a Rubix Cube).
  2. Within your dataset, select the column with the URL.
  3. In your top ribbon, change your data categor to Impage URL

Hope that helps!

 

Anonymous
Not applicable

Thanks for your reply. I just did exactly that and then now it is showing a small icon but not the actual image. I have one of the images is within a library in a sharepoint list and the other is actually a public facing image just to make sure that it is not an authentication or access issue. But still both are showing the same. 

The first image is how it is displayed on BI services. and the second one is on BI Desktop.

I saved and restarted BI, but stil showing the same.

 

2.png3.png 

Anonymous
Not applicable

I noticed that your image URLs, unlike mine, are "https".  It certainly could be a security issue on your side and that a proper handoff between the systems is not occurring.  With the steps that I outlined, the dashboard "now understands" it's meant to be an image - but it is not persisting.

 

Hopefully, someone else from the community can offer a suggestion.  

Anonymous
Not applicable

Thanks! I actually see on your images that 2 of them are https and only one is http, and both are still been handled alright... I'll keep digging and trying different locations .. Please let me know if you came across something,

 

PS: PBI is new to me and i'm pressed in time to get a whole bunch of stuff done... You probably will see a lot of questions from me in this community for the next little while. 🙂 

Anonymous
Not applicable

@Anonymous

 

One more thing...

 

Download the following file from Dropbox.  It is an image viewer that was available for download through PBI

 

Image Viewer 

 

Once downloaded, Import it in PBI using Import a custom visual.

 

Import.PNG

 

Then change the visualization type to "IMG" which will appear once imported.

 

You can DM me in the community, and we can connect via phone.  Been there before - happy to help.

 

 

Anonymous
Not applicable

I've actually got one with http and another https.. both are behaving the same.. 

 

4.png

Anonymous
Not applicable

@Anonymous

 

One more thing...

 

Download the following file from Dropbox.  It is an image viewer that was available for download through PBI

 

Image Viewer 

 

Once downloaded, Import it in PBI using Import a custom visual.

 

Then change the visualization type to "IMG" which will appear once imported.

 

You can DM me in the community, and we can connect via phone.  Been there before - happy to help.

 

 

Anonymous
Not applicable

Thanks again for your response.. I highly Appreciate the offer to connect and help... 🙂 I'm sure I will be bugging you a lot... wait for it.. 😄

 

well, I'm getting the same thing... 😞  a small icon of a broken image...sigh...

5.png 

Anonymous
Not applicable

Waittt... it works now, I figured what the issue was... horray 😄

 

The problem was the field type on my sharepoint list.. the orginal field type that I was pulling the data from was an "Image/Hyperlink" field type. I changed that into a single line of text and now it works and referenced it into both visual types, the multi line and the custom image visual and both are working now.....

 

Yaay!!

 

Thanks for all your help! 🙂  

Anonymous
Not applicable

oh no, I think i spoke too soon. 

The http one only worked...

The https is still showing broken image... 

Anonymous
Not applicable

Update: I found out that https images do not work when openning the PowerBI services in Chrome. But it worked perfectly on IE. Part of the mystery solved.

Anonymous
Not applicable

Glad you got it.  Offer still stands, lmk if I can help.

Anonymous
Not applicable

@v-sihou-msft

 

Thanks for the feedback.  Can you add some detail around making a multiple row card?

 

In my desired application a user would select the Market, and I would display the logo.

 

Thanks for the feedback.

 

Anonymous
Not applicable

I have a number of dashboards where users select the city (in a slicer) where they are place geographically.

 

I would like to brand the dashboards that when a city is selected, the proper logo is displayed.  In the event that more than one city is selected, I would like to display a generic logo.

 

Objective:

  • As a Power BI user, I want to display a logo when a city is selected in slicer, so that the dashboard can be branded.

 

Acceptance Criteria:

  • Show me when a city is selected, the proper logo is shown on the dashboard.
  • Show me when more than one city is selected, a generic logo is shown.

 I would appreciate any help that the community could provide.

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors