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.
Good day,
I have a very simple question, but so far I did not succeed to solve it 😁
Below is a simple table.
I added a column with a calculation:
total_listprice = SUM(table[order_amount] * price
But what if I want to make this calculation with a measure, how should this measure look like?
How should I cope with the 'price', as this is a only a value.
order_amount | partnumber_sup | price | description | total listprice |
10 | 045002700 | 785 | BEARING, SHAFT END | 7850 |
10 | 045002701 | 653 | BEARING | 6530 |
20 | 045002701 | 653 | BEARING | 13060 |
1 | 070023800 | 2553 | WRENCH, REFRIGERATION | 2553 |
1 | 070023801 | 2478 | WRENCH, OFFSET REFRIGERATION | 2478 |
32471 |
Thanks!
John
Solved! Go to Solution.
The Measure would be
SUMX([Name of the Table],Order_qty*Price), this will help you without creating a column to get the visual.
with above measure you need not have another column which you have created with SUM function.
You can understand this in my Video Example , you can look at 2:30 of Video and you will find how to use this formula
You can watch many videos at my youtube channle (ref above link)
If you find this as solution please mention this as solution and Share your Kudoes
Regards
Vijay Perepa
Proud to be a Super User!
Try a measure like
SUMX(table,table[order_amount] * table[price])
Try a measure like
SUMX(table,table[order_amount] * table[price])
Problem solved, thanks!
The Measure would be
SUMX([Name of the Table],Order_qty*Price), this will help you without creating a column to get the visual.
with above measure you need not have another column which you have created with SUM function.
You can understand this in my Video Example , you can look at 2:30 of Video and you will find how to use this formula
You can watch many videos at my youtube channle (ref above link)
If you find this as solution please mention this as solution and Share your Kudoes
Regards
Vijay Perepa
Proud to be a Super User!
problem solved, thanks!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
96 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |