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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
JIED
Frequent Visitor

How to create measure for 1-1 relationship

Hello,

 

Please helo me 🙂

 

I am new to PowerBI

 

I get this 2 tables, they are 1-1 relationship by ID2.

ID2 is the sub Id of ID1.

 I want to get the count of category by ID1.

JIED_1-1647591525846.png

 

 

How do I write the measure ?

 

Many thanks in advance for your help!

 

How to create measure for 1-1 relationship 

1 ACCEPTED SOLUTION
eshwarramesh97
Frequent Visitor

@JIED  no dax is needed for this just drag table 1 id1 on row of matrix and table 2 category on column of matrix and in values drop id2 of any table and select as count

View solution in original post

3 REPLIES 3
eshwarramesh97
Frequent Visitor

@JIED  no dax is needed for this just drag table 1 id1 on row of matrix and table 2 category on column of matrix and in values drop id2 of any table and select as count

amitchandak
Super User
Super User

@JIED , Create a matrix ID1 from Table 1 and Category on the column from Table 2. And count of id 2 in values

@amitchandak Thank you for providing your answer!

Could you please kindly provide the DAX example please?

I appreciate your help!

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.