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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply

Dax

Hello BI Community,

I have two table.
1. Scheme Table 
2. Master of DIstributor
Party name is name of Distributor who is eligibe for Scheme.  and Distributor contains all name of Distributor in Gujrat State.
relationship : State to State 

 

I want one column whe Party name is Equal to DIstributor then 1 otherwise 0

StateParty nameDistributor
Gujaratxyzabc
Gujaratxyzdfe
Gujaratxyzxyz
Gujaratxyzrtg
1 REPLY 1
eliasayyy
Memorable Member
Memorable Member

as a measure:

IF(
   MAX('Table'[Party Name]) = MAX('Table2[Distributor]) ,
   1 , 
   0
)

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.