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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Good Morning,
I have a formula from excel that I can't seem to find a way to put in my formula in power BI. Sorry not really sure on how power BI works till now.
here's the formula : = =SUM(AH2:AK2,AN2)+IF(AF2="O",AO2,0). Anyone can help to solve this pls?
here's the table:
=SUM(AH2:AK2,AN2)+IF(AF2="O",AO2,0)
Solved! Go to Solution.
In Power Query, add a custom column.
[AH] + [AI] + any other columns + (if [AF2] = "O" then [AO2] else 0)
Make sure that the columns have the correct datatypes
In Power Query, add a custom column.
[AH] + [AI] + any other columns + (if [AF2] = "O" then [AO2] else 0)
Make sure that the columns have the correct datatypes
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 7 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 22 | |
| 14 | |
| 11 | |
| 10 | |
| 9 |