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! Learn more

Reply
arvindarvind24
Helper II
Helper II

Count from Related

Hi,

  Need your help on to get count from other table as mentioned in below output.

 

 

codeTotal EnrolledEnrolled in store(Count)Enrolled in storeTransacting in other store(Count)Transacting in other storeenrolled in other store & Transacting in this store(Count)enrolled in other store & Transacting in this store
142110001300012000
10541  12000  
Total3110002500012000

 

https://drive.google.com/file/d/1FIowMcs7APghvtnyzwypLgVwN1dA3ta6/view?usp=sharing 

 

@amitchauhan @bvanderwatt @ray_ux @tamerj1 @SpartaBI @v-chenyue-msft  @mangaus1111 

 

 

 

 

2 REPLIES 2
Anonymous
Not applicable

Hi @arvindarvind24 ,

Please have a try.

Create measures.

Measure = var _1=IF((MAX(Sales[admsite_code]) in VALUES(Customer[admsite_code])),1,0)
var _2=
IF(_1=1,MAX(Customer[mobile]),BLANK())
return
_1
Measure 2 = SUMX(FILTER(ALL(Sales),Sales[admsite_code]=SELECTEDVALUE(Sales[admsite_code])&&MAX(Sales[admsite_code]) in VALUES(Customer[admsite_code])),MAX(Sales[netamt]))

vpollymsft_0-1668583876316.png

If it still does not help, please provide more details with your desired output.

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@arvindarvind24 , refer 4 ways to copy data from one table to another, if those can help
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

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

Top Solution Authors