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 @SG12 ,
Given the example that you sent me in PM:
I think the following measure could solve your problem:
Revenue = (SUM(Table[Unit price]) - SUM(Table[Cost price])) * quantity
Hi @SG12 ,
Given the example that you sent me in PM:
I think the following measure could solve your problem:
Revenue = (SUM(Table[Unit price]) - SUM(Table[Cost price])) * quantity
Hi @SG12,
I think we do not understand the problem.
Where do you have to multiply numbers with letters?
You have to distinguish between DAX and Power Query, you can't use both at the same time.
A simple DAX measure could look like this.
revenue = SUM('Table'[net sale price]) - SUM('Table'[cost price])
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Hey @SG12 ,
where do you have to multiply numbers with letters? I don't understand that step.
Thank you and best regards
Denis
I take it you have a separate table that holds the transactions (with the quantities)?
Are you trying to multiple the quantities in a transaction table by the unit prices in the debtors table?
Thats what i'm trying to do but i don't have a "quantity" table for the debtors, all the tables you see above is what i have. Is it still possible or do i need to have quantity table to calculate the revenue per debtor.
to calculate Revenue you will need more data yes.
Why do you need to add a quantity column. Just simply add the Unit Price column.
Hi,
i haven't added it. it was just a example. Can you share your way of solving this?
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 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |