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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
daniellanuza
New Member

how to filter based on user login

hi

 

I know this was not available, but now we have this new role feature maybe it is.

anyonhe tried to create a report taht will filter based on the user login?

 

basically i have a standard report and would want anyone to have his personalized view, without having to create 1 report for each person

 

thanks

6 REPLIES 6
samdthompson
Memorable Member
Memorable Member

Hi,. You need a table of all user names (and email address's). Use the DAX formula =USERNAME() to filter user access.

// if this is a solution please mark as such. Kudos always appreciated.

hi thanks for the reply

 

assuming i have that table (which i can get) how do i make it work?

where should i use the formula?

 

i currently just use a slicer with the user -- manually set, of course- and i hoped i can automate that selection

 

help appreciated

I've got the same problem.

 

I have a user list from an active directory connection and created a measure showing the current report user using DAX USERNAME().

 

But how can I filter my user table by username()?

hi @samdthompson

Have you tried on Power Bi service ?

It did not  work on power BI service for me.

 

 

BR

Hi, yes it works on service, you do need to share the model with people but as long as they are listed on the user table you are fine. Are you able to post some more speficics of your model? I suspect there is some other fishook getting in the way. 

// if this is a solution please mark as such. Kudos always appreciated.

Hi,

i was able to do it using SSAS tabular model. But still we need list of username in a table.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors