March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
Register NowGet certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
Check out the November 2024 Power BI update to learn about new features.
User | Count |
---|---|
121 | |
99 | |
88 | |
70 | |
61 |
User | Count |
---|---|
141 | |
122 | |
105 | |
94 | |
90 |