Forum Discussion
Issue with Simple image and multiple selection
- 6 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,
- Anonymous6 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,
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.