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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Charu
Post Patron
Post Patron

Display user image in table visual and card visual

Hi Everyone,

 

I'm using Direct query mode and Oracle DB.

 

In card visual, I'm using a measure for greeting that is Hi Charu Good Morning.

In front of Hi Charu Good Morning, I want to display my picture.

based on user login their picture should come dynamically.

 

Help me which visual will work for this scenario.

Thanks in advance

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi We can use USERNAME () function with Row Level Security (RLS) with Power BI to get the dynamic image when users login. we have created a Power BI Desktop file and published it to Power BI Online service account. First, in Power BI Desktop file, you need a table with columns of username and image URL. Then transform a url on image, you only need to select the column and select Modelling>Data Category>Image URL Second, configure RLS in Power BI with USERNAME () function, follow steps as this(https://docs.microsoft.com/en-us/power-bi/desktop-rls) USERNAME() is used to get the current logged in user and filter the data accordingly so as to enable him to view his own data. Third, publish the file to Service and in Service configure RLS, see more details here.(https://docs.microsoft.com/en-us/power-bi/service-admin-rls) Finally when person named dale logs in with his Power BI account, he will only be able to view his own image. Best Regards Maggie

Hi @v-juanli-msft

I copied the URL of an image from google and stored in my table

https://goo.gl/images/5juKK1

and in power bi, data category settings changed the column as Image URL

but here is the result

image url nt.PNG

Hi @Charu! Did you figure it out? I currently have the same question

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.