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

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

Reply
Aha2022
Regular Visitor

Profit by product

 I have to craete a profit by product % measure and the formula is Profit by Product (%)= Product Profit/ total Profit

I already create a profit measure 

Thanks in advance.

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Aha2022 

it depends on your dara model and filter context. In general you can try something like

DIVIDE ( [Profit], CALCULATE ( [Profit], ALLSELECTED ( 'Table'[Product Name] ) )

View solution in original post

1 REPLY 1
tamerj1
Super User
Super User

Hi @Aha2022 

it depends on your dara model and filter context. In general you can try something like

DIVIDE ( [Profit], CALCULATE ( [Profit], ALLSELECTED ( 'Table'[Product Name] ) )

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

Top Solution Authors