Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi, I am new to Power Bi and have been trying to learn DAX etc. I have a table that I needs a measure and I am having difficulty, so I thought I would try the new calculation in tables and I am still having difficulty. I have three columns and I need to find the profit percent of the sales column
Solved! Go to Solution.
Hi @pb14
You mean the column "Percent Total" is the result you want, right?
Plesse try the following measure:
Percent Total = Max('Table'[Sales]) * Max('Table'[Precent])
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@audreygerred , thanks for your concern about this case.
Hi @pb14
Can you provide detailed sample pbix file and the results you expect.So that I can help you better. Please remove any sensitive data in advance.
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi these are the results I would be looking for, thank you for your help
Hi @pb14
You mean the column "Percent Total" is the result you want, right?
Plesse try the following measure:
Percent Total = Max('Table'[Sales]) * Max('Table'[Precent])
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Yes thank you for this
Hello! For profit percent you really should have the COGS that way profit and profit percent can be calculated through a measure. With what you have right now you wouldn't be able to calculate it - you would just be able to take an average of the percentages that you have, but not come to a true amount for anything except at the row level like it is now.
Proud to be a Super User! | |
Thank you, I am having difficulty getting a measure to work. I have two tables one with items and profi percent and another table with the sale items and then sales measures to work out the total of the total goods sold
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
88 | |
87 | |
84 | |
66 | |
49 |
User | Count |
---|---|
131 | |
110 | |
96 | |
70 | |
67 |