Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
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)
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
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 | |
| 11 | |
| 7 | |
| 6 |