Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi All,
I want to multiple selling price by QTY. the Selling price is in a different row to QTY. where selling price is being mentioned the QTY is zero and where the QTY has been mentioned the selling price is zero.
I have added the screen shot of my data.
Solved! Go to Solution.
Hi,
I am not sure how your datamodel looks like, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
I hope the below can provide some ideas on how to create a solution for your datamodel.
Expected invoice value: =
SUMX (
ADDCOLUMNS (
SUMMARIZE ( Data, 'Item'[Item] ),
"@qty", CALCULATE ( SUM ( Data[Qty] ) ),
"@unitprice", CALCULATE ( MAX ( Data[Unit Price] ) )
),
[@qty] * [@unitprice]
)
Hi,
I am not sure how your datamodel looks like, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
I hope the below can provide some ideas on how to create a solution for your datamodel.
Expected invoice value: =
SUMX (
ADDCOLUMNS (
SUMMARIZE ( Data, 'Item'[Item] ),
"@qty", CALCULATE ( SUM ( Data[Qty] ) ),
"@unitprice", CALCULATE ( MAX ( Data[Unit Price] ) )
),
[@qty] * [@unitprice]
)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 14 | |
| 8 | |
| 8 | |
| 8 |