Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hey,
I got single data table like bellow:
What im trying to do is to get result assigned to ID by sum of multiplication columns Sales by Shares
material no 1 = 100 * 0.25
material no 2 = 0 * 0.50
material no 3 = 200 * 0.25
Sumof this multiplication should be equal to 75 for ID 123,
In my visual while presenting data including material column, all looks fine
but then after taking out Material column my calculated measure is combining the results:
the measure im using:
Solved! Go to Solution.
Hello STRUSINIO,
You're using the right function (SUMX) but it looks like your understanding of the functions is incorrect. Hopefully this documentation helps your understanding. Anyway, try the below instead.
Result = SUMX ( 'Table', 'Table'[Sales] * 'Table'[Shares] )
----------------------------------
If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)
Proud to be a Super User! | |
Hello STRUSINIO,
You're using the right function (SUMX) but it looks like your understanding of the functions is incorrect. Hopefully this documentation helps your understanding. Anyway, try the below instead.
Result = SUMX ( 'Table', 'Table'[Sales] * 'Table'[Shares] )
----------------------------------
If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)
Proud to be a Super User! | |
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
28 | |
12 | |
10 | |
10 | |
6 |