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
Sujit_Thakur
Solution Sage
Solution Sage

relationship not working properly

Dear all , I have following Index table

ModelCategorySub Category
ABFistHead
SBFistBelt
DUVeloShoe
DIVeloRack


And a main data table as below 

ModelLocationPricePro
ABPune23Av
DILucknow31AD
DUMadras43WFW
SBUP42FA
ABKolkata23QF



i gave a relation between them , using model column .
so what i expect  using table visual ,

ModelCategoryLocationPricePro
ABFistPune23Av
DIVeloLucknow31AD
DUVeloMadras43WFW
SBFistUP42FA
ABFistKolkata23QF



but what i am getting is ,

ModelCategoryLocationPricePro
ABFistPune23Av
ABVelo   
DIVeloLucknow31AD
DIFist   
DUVeloMadras43WFW
DUFist   
SBFistUP42FA
SBVelo   
ABFistKolkata23QF
ABVelo   




Even when i have given one to many relation between both tables using model field 
I too tried filtering both direction using security  filter but it didnt helped

@amitchandak  please help sir

Regards 
sujit

1 ACCEPTED SOLUTION

Dear @amitchandak ,

It was my fault 

I was returning 0 in a measure 

 

Var a = some expression

Return IF(ISBLANK (a),0, Countrows(some expression))

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@Sujit_Thakur , Are taking model related column from the index table only. Please find the attached file after signature. I am getting correct result

 

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

Dear @amitchandak ,

It was my fault 

I was returning 0 in a measure 

 

Var a = some expression

Return IF(ISBLANK (a),0, Countrows(some expression))

@Sujit_Thakur Has the problem been solved? If so, you may accept the appropriate reply as the solution or post your own solution to help close this topic. Thanks.

 

Best Regards,
Community Support Team _ Jing Zhang

@amitchandak sir ,
above is dummy data ,
please share some type of trouble shooting checklist for relationship

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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!

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