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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
dkoepke
New Member

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 2
Pragati11
Super User
Super User

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

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

 

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors