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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
niekdp
Frequent Visitor

multiply two colums in same table

Dear,

 

I'm new to DAX.

I'm trying to multiply two columns: quantity and trade price. (the colums are in the same table)
For this I'm using the product formula, but I keep receiving an error that the syntax is incorrect.

 

Could somebody please help?

1 ACCEPTED SOLUTION
jthomson
Solution Sage
Solution Sage

Product I think just works across one column and not multiple, does a measure like Sales = [quantity]*[trade price] not work?

View solution in original post

5 REPLIES 5
MarcelBeug
Community Champion
Community Champion

@niekdp why not just share your formula instead of letting everybody wild guessing what would be wrong with it?

Specializing in Power Query Formula Language (M)

Next time I will do this, thx!

jthomson
Solution Sage
Solution Sage

Product I think just works across one column and not multiple, does a measure like Sales = [quantity]*[trade price] not work?

Yes that should work, if it's in the same table. What error are you getting?

BeemsC
Resolver III
Resolver III

What is the formula you are currently using? What error does it give?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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