cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Hide column from Hierarchy

The hierarchy is of level 6. Level 1 can see the whole data which is working but the issue rises when a level 2 person logs in.

Theoritically, it can see the data of Level 2 and upto 6 but it can't see Level 1 data.

I tried making report for each level by removing a level from Filter.

I can see data but its completely wrong.(in 2nd pic with only two levels)

 

Is it possible to hide those columns from the report? It should be present in each level report but they are hidden.

 

Dax Query is use to create the Hierarchy:

Path = PATH(mstbl_UserRoleMapping[bigintMapId],mstbl_UserRoleMapping[bigintParentId])

pathitem = LOOKUPVALUE(mstbl_UserRoleMapping[varSupervisor],mstbl_UserRoleMapping[bigintMapId],PATHITEM(mstbl_UserRoleMapping[Path],2,1))

Level 1 = PATHITEM(mstbl_UserRoleMapping[Path],1)

Level 2 = PATHITEM(mstbl_UserRoleMapping[Path],2)

Level 3 = PATHITEM(mstbl_UserRoleMapping[Path],3)

Level 4 = PATHITEM(mstbl_UserRoleMapping[Path],4)

Level 5 = PATHITEM(mstbl_UserRoleMapping[Path],5)

Level 6 = PATHITEM(mstbl_UserRoleMapping[Path],6)

 

Table Cross section from where hierarchy is created with it IdTable Cross section from where hierarchy is created with it IdHierarchy tableHierarchy table

After removing above levels i got this.After removing above levels i got this.

 

 

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Hide column from Hierarchy

@sarveshpandey23 

 

You may implement Row-level security and try Matrix visual.

https://community.powerbi.com/t5/Desktop/How-to-hide-null-columns-in-matrix-table/m-p/562296#M265307

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

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors