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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
RaedHussein
New Member

Calculated table from 2 sheets with working filters

Hi guys,

I have an excel sheet that contains 2 tables, one for the Product Material Cost, and the other for Sold Product, like this

Product NameMaterial RequiredCost
Product 1Material 1 (Wood)12
Product 1Material 2 (Iron)4
Product 3Material 1 (Wood)14
Product 3Material 4 (Paint)20

 

Product NameSelling PriceOrder NumberDate of SellingLocation
Product 1131 Amman
Product 1132 Irbid
Product 4193 Amman


What I need is to make a Calculated Table that Count Number of a sold product, Sum of Revenue, Sum of Material Cost and Profit for each product.

Also, this table is applied from slicers like Location or Material Required, etc

I really appreciate any help in that

2 REPLIES 2
Jihwan_Kim
Super User
Super User

Hi, @RaedHussein 

I am not sure about how your whole data model looks like, but I think there is some missing information in the sample.

Sales for Product 1 -> what is the material? is it wood, or is it Iron?

Sales for Product 4 -> I cannot know the cost based on the sample.

 

Thank you.

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Hi @Jihwan_Kim ,

That was just an example, but we can say that Product one made from wood and iron and other kinds of materials, so the cost of Product one should be the Cost of wood + the Cost of iron

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.