Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I have a big data below is just a sample:
Status | Annual Amount | Paid Amount | Exchange rate | Factor | Total
A | 2400 | 2000 | 7.8 | 12 | Annual Amount x Exhchange rate x Factor
B | 3270 | 620 | 7.8 | 12 | Paid Amount x Exhchange rate x Factor
How to write a formaul when Status =A or B then Total = above formula, the result need to show in the same column. Thank you!!!
Solved! Go to Solution.
Here you are...
= Table.AddColumn(Source, "Total", each if [Status] = "A" then [Annual Amount] * [Exchange Rate] * [Factor] else [Annual Amount] * [Exchange Rate] * [Factor], Currency.Type)
Here you are...
= Table.AddColumn(Source, "Total", each if [Status] = "A" then [Annual Amount] * [Exchange Rate] * [Factor] else [Annual Amount] * [Exchange Rate] * [Factor], Currency.Type)
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 12 | |
| 11 | |
| 7 | |
| 7 | |
| 6 |