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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.