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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.