cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ACI_Data
Resolver I
Resolver I

Simple Image visual: selection error

Hi,

I am using the visual Simple Image. Now this is how the image and slicer look

with selectionwith selection

As you can see I have selected a premise and you can see a picture of the premise (right picture) where I used the Simple Image visual. Normally the visual on the left (which is a Image Element) is positioned behind the Simple Image visual. This was my solution for the problem and what worked the last couple of days. If selected then the Simple Image visual shows the picture of the selected premise, if not selected then the visual Simple Image is empty and Image Element shows the picture of the customers headquarter. For the sake of my question I put the 2 visuals next to each other.

I don't know why, but now Simple Image does this.

without selectionwithout selection

I have not selected anything and yet I get the picture of the premise. It doesn't matter what premise I select, the moment I clear my selection I get the picture of the premise. I made my report this week and I had no issue with Simple Image visual until today.

I have been doing some trial and error and found something.

The database is a file in Sharepoint and this is how the table looks (a part of it)

tabletable

Now I created a fake premise with an ID, but no URL. This is what Simple Image shows. I turned on Alt text.

simple image no selection & with alt textsimple image no selection & with alt text

It seems that Simple Image shows the image of the premise "test" but I don't know why. In the beginning I didn't had all the links of all the pictures and now it seems as if Simple Image shows the picture of the first row that doesn't have an URL. 

 

Does anyone know why or has a solution?

1 ACCEPTED SOLUTION
ACI_Data
Resolver I
Resolver I

okey seeing where the problem comes from I solved it this way. Maybe this will help another person.

In my datasource I added in Excel a row with an ID and Pand, but no URL. In Excel I hid the row, so that the customer won't see it. In Power BI it works exactly as I wanted. In BI the Simple Image visual was actually visualizing that row, but it doesn't have an URL. Simple Image is then empty and shows the picture of the headquarter. Below some pictures

This is how I made the row in the Excel database.

The hided row in ExcelThe hided row in Excel

This is how it is and what I want. No selection and you see the Image Element picture of the headquarter

Simple Image without selectionSimple Image without selection

Now I made the same selection as the first time. You don't see the picture of the headquarter, which is behind the Simple Image visual.

Simple Image with selectionSimple Image with selection

It is behind the visual by going in BI to Format > Selection. You select the visual that needs to be at the front and move it up or down (selection orderselection order) In my case I wanted the "Image panden" which is the Simple Image to be higher then the "Image begin" which is the Image Element.

 

Maybe there are more solutions. Feel free to share them here. The solution I gave worked for me 😄

View solution in original post

1 REPLY 1
ACI_Data
Resolver I
Resolver I

okey seeing where the problem comes from I solved it this way. Maybe this will help another person.

In my datasource I added in Excel a row with an ID and Pand, but no URL. In Excel I hid the row, so that the customer won't see it. In Power BI it works exactly as I wanted. In BI the Simple Image visual was actually visualizing that row, but it doesn't have an URL. Simple Image is then empty and shows the picture of the headquarter. Below some pictures

This is how I made the row in the Excel database.

The hided row in ExcelThe hided row in Excel

This is how it is and what I want. No selection and you see the Image Element picture of the headquarter

Simple Image without selectionSimple Image without selection

Now I made the same selection as the first time. You don't see the picture of the headquarter, which is behind the Simple Image visual.

Simple Image with selectionSimple Image with selection

It is behind the visual by going in BI to Format > Selection. You select the visual that needs to be at the front and move it up or down (selection orderselection order) In my case I wanted the "Image panden" which is the Simple Image to be higher then the "Image begin" which is the Image Element.

 

Maybe there are more solutions. Feel free to share them here. The solution I gave worked for me 😄

View solution in original post

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

Get Ready for Power BI Dev Camp

Power BI Dev Camp - September 30th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors