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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Power BI - How to hide table columns and visual based on who is viewing the report?

Hi,

I have been given the task of producing a Power BI report that shows the table and visuals per region. However, depending on the user, I must show all divisions in that region or a subset of the divisions. I have shown an example below.

User ONE can see all divisions (North, North East, North West) so they'll get to see a table with all 3 columns and 3 charts, as per below:
3Columns.jpg

 

User TWO can only see the North and North East divsions so they'll get to see a table with only 2 columns and only 2 charts, as per below:
2Columns.jpg

Is there a way to hide columns and visuals based on who is viewing the report. I'm aware of Row Level Security (RLS) to restrict who can see what data but this question is who can see what visuals?

Can this be achieved, and how?

Thanks in advance.

3 REPLIES 3
v-jiascu-msft
Employee
Employee

Hi @Anonymous ,

 

If the data a user can see is empty that is filtered by RLS, the columns will be empty too. Is that enough? Maybe you don't need to hide the column.

 

 

Best Regards,

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thanks for your responses.

I don't particularly wish to have an empty column showing even if it does reduce the report creation to just a single report. As the total number of reports will be three I don't see this as too much of an overhead so I will create the reports individually and show each report based on the user access.

parry2k
Super User
Super User

@Anonymous  there is no way to hide the column but you can hideh the value in the columns with DAX, you can set measure value to blank based on selected options.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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