cancel
Showing results for
Did you mean:

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a \$100 discount. Register Now

New Member

## DAX HAI I HAVE PROFIT ,SALES AND QUANTITY HOW TO CALCULATE THE COST PRICE OF THE PRO

how to calculate the cost price when sales,profit and quantity is given in the table please anyone help me to get this issue resolve

1 ACCEPTED SOLUTION
Community Champion

You can create a calculated column to get the Cost Price

Cost Price per Unit= Divide([Sales],[Quantity]) - Divide([Profit],[Quantity])

Proud to be a Super User!

4 REPLIES 4
Community Champion

You can create a calculated column to get the Cost Price

Cost Price per Unit= Divide([Sales],[Quantity]) - Divide([Profit],[Quantity])

Proud to be a Super User!

Impactful Individual

Something like this. Say you have:

Sales = 5000 Euros

Profit = 100 Euros

Quantity = 200 pieces

We deduce that:

Cost = Sales - Profit = 4900 Euros

Cost per unit = Cost / Quantity = 24.5 Euros

Super User

Yes like this.

 Vote for my Community Mobile App Idea

Proud to be a Super User!

Super User

Hello,

so you could add a column and make a measure Cost = sales - Profit

and to get cost per item = Cost / quantity

 Vote for my Community Mobile App Idea

Proud to be a Super User!

Announcements

#### Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

#### Power BI Monthly Update - February 2024

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

#### Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

#### Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors