Forum Discussion

dkoepke's avatar
dkoepke
New Member
6 years ago

Help with calculated column based on two other columns

Hi all,

 

Need some help calculating a column based on the contents of two other fields.

 

The data I have is historical sales, but also mixed with budget data

So for each product I have a business unit and actual sales one line then same for budget in the same table.

 

I need to create a calculation of sales (Converted for currency) based on if it is from a certain business unit.  So for USA it would conver to ¥ from USD, but only for actual sales transation lines excluding budget lines.  But I also need to convert about 6 different currencies based on the content of a business unit field.

 

Hope this makes sense.  

Thanks,
David

 

2 Replies

  • Hi dkoepke ,

     

    Can you please post some sample data along with the required output? It's will make easier to answer your query.

     

    Thanks,

    Pragati

    • dkoepke's avatar
      dkoepke
      New Member

       

      Data TypeYear MonthBUQtySalesAmt Local CurrencyModel
      MonthlyReport2019/12DUS35067352D
      MonthlyReport2019/12DUS117179.552D
      MonthlyReport2019/12DUS41678661.0552D
      Budget2019/12DUS45560052D
      Budget2019/12DUS34570053D
      Budget2019/12DUS406260052D
      MonthlyReport2019/12DAS23000052D
      MonthlyReport2019/12DAS44000052D
      MonthlyReport2019/12DAS54200052D
      Budget2019/12DAS1450053D
      Budget2019/12DAS1450053D
      Budget2019/12DAS1450053D