Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello ,
I am having issue creating a calculated measure between to fact tables related with a dimension table .
relationship 1: dim company key + item key = fact sales item key+fact sales company key
relationship 2: dim item key = fact cost item key
Items can be sold in each company but the cost is unique for each item cross companies.
I need to calculate unit cost * quantity
sum(unit cost) * sum(quantity) result to be correct at item key level but the total is wrong ,
please advice
Solved! Go to Solution.
hi @Gilad ,
try write your measure like:
Hi, @Gilad
Has your problem been solved yet? If not, can you tell what kind of output you expect based on the data you provided?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
hi @Gilad ,
try write your measure like:
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 9 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 19 | |
| 17 | |
| 11 |