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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Raman3456
Helper I
Helper I

Based on RLS selection need to show the shape buttons , is it possible?

Hi All,

 

I have 3 RLS roles , Based on RLS selection Shape got enable in the Report will it be possible ?

 

 

Regards,

Raman

3 REPLIES 3
v-yangliu-msft
Community Support
Community Support

Hi  @Raman3456 ,

It is not possible to display Shape through RLS, but it can be filled with transparent color through Shape and measure to achieve no display

Here are the steps you can follow:

1. Create measure.

Make Transparent =
IF(
USERNAME()="Here is the name of your Username ",
"#FFFFFF00"
)

2. In Format shape, find Fill – fx.

vyangliumsft_0-1625646792380.png

3. Format by – Field value, Based on field select measure

vyangliumsft_1-1625646792383.png

On the host of your username, the shape is transparent to achieve no display.

 

This is the related document, you can view this content:

https://www.powerbi-pro.com/en/power-bi-display-measures-for-specific-users-only/

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

amitchandak
Super User
Super User

@Raman3456 , I doubt you can control the shape of the button using a measure. Because if that is possible we can do it using RLS.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Hi Amit,

 

Thanks for the reply , My question is if i select any value in the RLS , That shape only it should be appear 

it should be apply as automatically .

Can you tell me breifly ?

 

Regards,

Raman

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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