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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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 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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.