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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
laurmell
New Member

Dax Calculation Help

Hi folks, I need help creating a dax calculation for people with rights for system a and rights in system b. I have a list of names and a list of rights that each person has. The problem is there are multiple rights for a and multiple rights for b. Please see the table below for Clarification. 

 

NameRight Name
VBaaa_121
SUbbb_123
SUaaa_123
MNbbb_0
MNaaa_0
MNaaa_121
BCaaa_121
GMbbb_123
GMaaa_123
MJbbb_5000
CMbbb_123a
CMaaa_123a
LJbbb_5000b
JMDbbb_5000a
KCaaa_123
BIbbb_4000a
BIbbb_4000b
BIbbb_5000a
BIbbb_5000b
BIbbb_123
BIaaa_123
WKbbb_123
WKaaa_123
DFNbbb_5000e
VAPbbb_5000b
GMaaa_121
SMbbb_123
BJFbbb_5000
SRaaa_121
SRaaa_123

 

I need to check whether each person has the same rights in system a as system b. 

1 REPLY 1
amitchandak
Super User
Super User

@laurmell , You need to have a name and the right table

example

new table

Dim1 =

Distinct(union(Summarize(Table1,Table1[Name],Table1[Right Name]),Summarize(Table2,Table2[Name],Table2[Right Name]) )

 

Create a combine column in all three table and use that in join

= [Name] & "-" & [Right Name]

 

Then create a measure like

only matched

Countx(filter( summarize(Dim, Dim[Name], Dim[Right Name], "_1", Count(Table1[Name]) , "_2", Count(Table1[Name]) ) , [_1] =[_2]), [Name])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.