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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
ODK_jmor
Frequent Visitor

Slicer in Power bi with user list with out RLS

hi
i have th following problem

i have a table with all userid.

i want to create a slicer and set my userID = String "current user". all other userID is included in the slicer list
i want to open the report with default "Current User"

Any ideas?

John

1 ACCEPTED SOLUTION
freginier
Super User
Super User

Hey there!

 

First you need to add a Calculated Column to Your User Table: 

User_DisplayName =
IF(
'UserTable'[UserID] = USERPRINCIPALNAME(),
"Current User",
'UserTable'[UserID]
)

(This replaces the logged-in user's ID with "Current User". All other users remain unchanged.)

 

Then use This Column in the Slicer

- Add a slicer in Power BI.
- Use [User_DisplayName] instead of [UserID].
- Ensure that "Current User" appears as the default.

 

And lastly, since Power BI does not allow direct slicer defaults, use Bookmarks:

- Select "Current User" in the slicer.
- Go to View → Bookmarks → Add a new bookmark.
- Enable Data (so it saves slicer selection).
- Set this bookmark as the default view when users open the report.

 

Hope this helps!

😁😁

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @ODK_jmor ,

 

Did @amitchandak reply solve your problem? If so, please mark it as the correct solution, and point out if the problem persists.

 

Best regards,

Adamk Kong

freginier
Super User
Super User

Hey there!

 

First you need to add a Calculated Column to Your User Table: 

User_DisplayName =
IF(
'UserTable'[UserID] = USERPRINCIPALNAME(),
"Current User",
'UserTable'[UserID]
)

(This replaces the logged-in user's ID with "Current User". All other users remain unchanged.)

 

Then use This Column in the Slicer

- Add a slicer in Power BI.
- Use [User_DisplayName] instead of [UserID].
- Ensure that "Current User" appears as the default.

 

And lastly, since Power BI does not allow direct slicer defaults, use Bookmarks:

- Select "Current User" in the slicer.
- Go to View → Bookmarks → Add a new bookmark.
- Enable Data (so it saves slicer selection).
- Set this bookmark as the default view when users open the report.

 

Hope this helps!

😁😁

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.