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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Kadiri
Regular Visitor

Countries + Names

Dear community,

 

I'm getting images from URL in my table but i want to get like this in the Grid (flag+Name of Country):

Kadiri_0-1645626413190.png

This is where i am at so far:

Kadiri_1-1645626493506.png

 

Thank you in advance,

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

No, the problem is not a limitation of the visual but the way a tabular model handles data types on fields.  In order to get the image the data type must be web url.  If you try to combine it with a country name the field type becomes text and the image is not retrieved.

View solution in original post

5 REPLIES 5
Hafsa_Lharrak
New Member

Hi i can't find my country "Morocco" in the dashborad countries list whenver i select africa as a region.

Can you please help ?

@Hafsa_Lharrak 

Perhaps there is no data for Morocco in the measure that is being displayed so the row does not show up.

jdbuchanan71
Super User
Super User

No, the problem is not a limitation of the visual but the way a tabular model handles data types on fields.  In order to get the image the data type must be web url.  If you try to combine it with a country name the field type becomes text and the image is not retrieved.

jdbuchanan71
Super User
Super User

@Kadiri 

According to the answer on this post it is not possible to combine an image and text into a single field because of the different data types.  You will have to put the country name in a different field right next to the flag.

https://community.powerbi.com/t5/Desktop/Matrix-with-Image-and-Text/td-p/1680338

 

Thank you. is there a vizual that can help achieve the desired output, apart from that?

 

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.