Forum Discussion
Issue with Simple image and multiple selection
- 5 years ago
Hi, I'm not quite sure about the visualizations that render pictures. You can try creating a measure with selectedvalue functions like this:
URL measure = SELECTEDVALUE( Table[URLColumn], "DefaultURLText" )That way if you click more than one you can just specify the value for that case.
Hope it helps,
- Anonymous5 years ago
Hi,
Finally I came up with a solution. Simple Image doesn't allow measures, but Image by Cloudscope (https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA200001985?tab=Overview) does. Thus, we can use a measure like the one proposed by ibarrau :
flag_to_show=SELECTEDVALUE('Table[Column_with_url_to_image]',"default_url")Table[Column_with_url_to_image] is the column where we store the URL to the flag, and default_url is the image we want to show when more than one item is selected.
Hi, I'm not quite sure about the visualizations that render pictures. You can try creating a measure with selectedvalue functions like this:
URL measure = SELECTEDVALUE( Table[URLColumn], "DefaultURLText" )
That way if you click more than one you can just specify the value for that case.
Hope it helps,
- Anonymous5 years agoNot applicable
Hi ibarrau , before opening this thread I tried using a measure, but unfortunately Simple Image doesn't allow them 😞
- ibarrau5 years agoSuper User
Too bad. It sounds like you can try a dirty solution. Consider adding a new row as "1-Global" that will always be first. That way you can use the default image url for that row. Before publishing a report like this it might be a good idea to remove 1-Global from the countries slicer with a visual level filter.
Hope this idea helps,
- Rajesh262 years agoHelper I
Hi,
I am also facing the same issue and I could n't get your inputs correctly. can you please elborate this in detail.
- Paulo2020-20204 years agoRegular Visitor
Olá, resolvi cirando essa solução. ROW está servindo com suporte para retornar sempre uma imagem conforme o filtro e regra...