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
Anonymous
Not applicable

How to create a DAX formula in managing roles?

Like in our case, we create roles through ID like :

 

person name to tables ( report file ) then DAX expression goes like this 

 

Vice President with table filter DAX Expression of [Sales Rep ID] = "0007322" || [Manager ID] = "0007322"

 

So my question is how am I gonna create a DAX formula if I want to see all persons under the VP Manager?

 

VP Manager 001 (highest rank)

Regional Manager 002 under with VP

District manager 003 under with Regional Manager

Account managers 004 under with District Manager

 

Please advise. Thanks

 

 

 

1 ACCEPTED SOLUTION
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

That would depend on your data structure. 

If you have an index column, the DAX formula could be [Index] < (the index of VP).

If the number of values is limited, maybe you can try it like this.

[Manager ID] in {"Value1", "Value2", "Value3"}

Best Regards,

Dale

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.

View solution in original post

3 REPLIES 3
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

Did it help? Can you mark it as an answer?

 

Best Regards,

Dale

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

Hello,

 

My apology. I wasn't able to get back to you. Yeah, it helps a lot. The first suggestion works.

 

Thanks for the help.

v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

That would depend on your data structure. 

If you have an index column, the DAX formula could be [Index] < (the index of VP).

If the number of values is limited, maybe you can try it like this.

[Manager ID] in {"Value1", "Value2", "Value3"}

Best Regards,

Dale

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.

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors