Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Calculate Cost per Product SQL

Hello!    If this has been asked before I am sorry but I did have a good look and I couldnt find anything on this, but I sure bet it has been asked before.   So I will do my best to explain the s...
  • Jimmy801's avatar
    Jimmy801
    5 years ago

    Hello Anonymous 

     

    and how are they connected? However you need to create a measure that looks like this

    SUM(Product[Costs])*SUM(Sales[Units])

    and in the visual you put the contract n. and this measure. But as I already said, all tables need to be connected first.

     

    If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
    Kudoes are nice too

    Have fun

    Jimmy