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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
protodimbo
New Member

Need help!!

Hi, guys! I need your help. I have 2 tables (Table with rights, table with users).

1st.png2nd.png

 

I know that i can connect them with power pivot many to many relationships by department and i can connect it with DAX formulas. I need to make report table where i can see who have access to any folder and what rights he has and in what department he work etc.

Please help me

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

HI, @protodimbo

     you may try to use GENERATE Function to create a calculate table like below:

First you need to rename one of two column Department, for it cannot have the same column name in one table

then we rename the column Department in table2 with Department 1

then use this formula

Table = FILTER(GENERATE(Table1,Table2),Table1[Department]=Table2[Department1])

Result:

this is simple sample data

27.PNG

 

Best Regards,

Lin

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

Hi, guys! I need your help. I have 2 tables (Table with rights, table with users).

1st.png2nd.png

 

I know that i can connect them with power pivot many to many relationships by department and i can connect it with DAX formulas. I need to make report table where i can see who have access to any folder and what rights he has and in what department he work etc.

Please help me

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.