Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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