Forum Discussion

john_whelan's avatar
john_whelan
Regular Visitor
6 years ago
Solved

Multiply a column by another result

Hi Guys,

 

Can you help me again please? 

 

I'm trying to gain a solution to show a % result (Margin) from a Joint venture?

 

The main data currently shows FULL margin so I wanted to add in a calculation to show the 'Would Be' margin based on the allocated joint venture %. 

 

I.e. For Company A, who has a 50% Joint venture, Total Margin=£100 so Calculated Margin should be £50. 

For Company B, who has no (100%) Joint Venture, Total Margin =£100 so Calculated Margin should be £100. 

 

I have a separate data table (Joint_Venture) that lists the different companies i.e. A, B, C D.... by the would be weighting i.e. 50%, 100%,30%100%.... etc

 

I'm guessing this would involve a DAX calulation that says  Total Margin * JV% where the JV% is 'Looked up' based on the company name? 

I hope this makes sense? Any pointers would be appreciated? 

 

Many thanks in advance for your assistance? 

 

Cheers, 

 

John

  • Nishantjain's avatar
    Nishantjain
    6 years ago

    john_whelan   Try this DAX measure

     

    Margin JV = SUMX('Data','Data'[Margin CTD] * RELATED('Joint_Venture'[JV]))

     

    Any questions,let me know 

     

    Thanks

    Nishant

6 Replies