March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
I am trying to get the contribution of shipments by sub companies which are under main companies, but i get the same values across all rows. how to solve this problem.I have encosed pictures of matrix, relationships.
Please help me out from this issue
Thanks,
Thanks
Solved! Go to Solution.
Hi @Mani_1
I have used your data:
Relate the ID:
And calculate shipment
Shipment = COUNT('001_sub'[ID])
It's working fine
Hi @Mani_1
I don't know which measure are you using, but you should use a iterative formula: SUMX, AVERAGEX or something similar
I'm not using any measure here
How is your data structured? I mean...
Shipments, weight, etc... are fields of Main (and you have some ID to relate with subcompany) or how?
Can you provide some dummy data here?
Hi @mlsx4 ,
Please find the dummy data in screenshot, here count of ID is shipment, two tables are connected by ID field.
Hi @Mani_1
But according to your relationship, company name is never duplicated (in dummy data it is), isn't it?
Anyway, if weight and volume is only in main, it will be difficult to separate by subcompany. It would always take the total
Hi @Mani_1
I have used your data:
Relate the ID:
And calculate shipment
Shipment = COUNT('001_sub'[ID])
It's working fine
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
143 | |
97 | |
79 | |
68 |