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
madami
Regular Visitor

unaspected result of count aggragation

I have 4 tables, rmas 1-1 rma_managers 1-* rma_managers_product *-1 products. Relationship are configured as follow image shows:

rma_tables.png

 

I want to count how many rmaID there are for any productModel splitted per year.

I put products.productModel in rows, rmas.rmaDate in Columns and count of rmas.rmaID in values. What I get is not the count of rmaID per year and model, but in every ros I get the total count of rmaI per year.

 

table.png

 

What am I doing wrong and what can I do to solve this?

Thanks

 

 

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@madami

 

In this scenario, you should change the Cross filter direction between rma_managers table and rma_managers_product table into "Both"

 

Capture.PNG

 

Then the "Count of rmaID" can be sliced by Product properly.

 

Regards,

View solution in original post

4 REPLIES 4
v-sihou-msft
Microsoft Employee
Microsoft Employee

@madami

 

In this scenario, you should change the Cross filter direction between rma_managers table and rma_managers_product table into "Both"

 

Capture.PNG

 

Then the "Count of rmaID" can be sliced by Product properly.

 

Regards,

Thanks @v-sihou-msft, now it works as expected.

vanessafvg
Super User
Super User

@madami its because of your bidirectional relationships, what is your measure code?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




@vanessafvg I dont use misure, I just put the column in Values and select count as aggragation. Should I create a misure?

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