- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
change of country flag based on selection of country
Hi,
i m new to power bi, i have some around 20 countries in the selection. if i selectin USA country, USA flag to be displayed , if i select UK, country, UK flag to be displayed on the top of my visualization . same for other countries. that is based on country selection, flag needs to be changed?
Is there any way to do that. Thanks.!!!
Regards,
Karthik Mohan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You could check out the Image Viewer custom visual. The description mentions using a slicer to determine which image is displayed. However, it's based on your image having a url, so you might have to arrange that for your data. There are several places online that you could probably use to pull your flag images, such as flags.NationMaster.com.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@KarthikMohan if you're able to find url for all countries flags images online then you can use Image Viewer custom visual.
What you need to do is in your dataset against each country specify url to that countries flag image online. Make sure data category for the column is Image URL. Then simply use Image Viewer custom visual with the url field from dataset. When selection is made on slicer Image Viewer will be filtered with that country's flag image.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
i m new to power bi, i have some around 20 countries in the selection. if i selectin USA country, USA flag to be displayed , if i select UK, country, UK flag to be displayed on the top of my visualization . same for other countries. that is based on country selection, flag needs to be changed?
Is there any way to do that. Thanks.!!!
Regards,
Karthik Mohan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@KarthikMohan if you're able to find url for all countries flags images online then you can use Image Viewer custom visual.
What you need to do is in your dataset against each country specify url to that countries flag image online. Make sure data category for the column is Image URL. Then simply use Image Viewer custom visual with the url field from dataset. When selection is made on slicer Image Viewer will be filtered with that country's flag image.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You could check out the Image Viewer custom visual. The description mentions using a slicer to determine which image is displayed. However, it's based on your image having a url, so you might have to arrange that for your data. There are several places online that you could probably use to pull your flag images, such as flags.NationMaster.com.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
05-06-2024 06:06 AM | |||
08-11-2024 12:17 PM | |||
07-12-2024 05:48 AM | |||
11-03-2024 03:59 PM | |||
07-17-2024 03:27 AM |