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
smehra88
Frequent Visitor

Dax Formula returning weird error when multiplying from two tables

There are two tables Invoice detail and Rewards; with many - one relationship. 

Need to create a dax measure two multiply two columns Quantity from Invoice detail and Reward amount from Rewards Table.

 

Total Rewards = SUMX('invoicedetail', ('invoicedetail'[quantity] * RELATED('Rewards'[Reward_Amount])))
used this dax but it is returning the wrong output.
It is multiplying a quantity by itself and multiplying it to rewards resulting in wrong output.
 
Wrong output : smehra88_0-1681756283910.png

It would be great if I could get any help.

Thank you in advance

 

3 REPLIES 3
tamerj1
Super User
Super User

Hi @smehra88 

what is the relationship between the two tables?

many to one 

Which column?

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.