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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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)
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 16 | |
| 12 | |
| 9 | |
| 8 | |
| 7 |