cancel
Showing results for
Did you mean:

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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

1 ACCEPTED SOLUTION
Community Support

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.

6 REPLIES 6
Community Support

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.

Regular Visitor

Hi these are the results I would be looking for, thank you for your help

Community Support

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.

Regular Visitor

Yes thank you for this

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.

Proud to be a Super User!

Regular Visitor

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

Announcements

#### New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

#### Power BI Monthly Update - May 2024

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

#### Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors