Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
pb14
Regular Visitor

New to power bi and need help with measures

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

 

pb14_0-1712755150268.png

 

1 ACCEPTED 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.

View solution in original post

6 REPLIES 6
v-jialongy-msft
Community Support
Community Support

@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

 

pb14_0-1713247508586.png

 

 

 

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

audreygerred
Super User
Super User

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.





Did I answer your question? Mark my post as a solution!

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

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.