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,
Please help me on preparing below Excel formula to Power Bi DAX
& I have not created any Measures & Custome Coloum in Power BI
=IFERROR(SUM(P8:Q8)/O8,0)
=IFERROR(K8/AVERAGE(H8:I8),0)
=IFERROR(X8/W8,0)
=IFERROR((U8-S8)/U8,0)
=IFERROR(AF8*T8,0)
=IFERROR(AVERAGE(H8:I8),0)
Thanks in Advance
Regards,
Chethan K
Hi @chethan
Can you provide the data? Then I'll prepare the DAX-statements for you. If you can't do that, I need atleast column headers.
Thanks in advance.
Best
Martin
HI @Anonymous
Please find the attached Sample Data https://drive.google.com/file/d/0B519oTylwEZ0YzM3Rm05Uk9IUzQ/view?usp=sharing
Regards
Chethan
Hi @chethan
I think what you want is simple enough to provide, but I can't seem to figure out what columns to put into if-statemnts from what you've provided. I'll write a general method for achieving what you want. Then we can work together from there to figure out, what you need.
The DAX-formula goes like this: IFERROR( logical expression ; value if true ; value if false )
So for example =IFERROR(SUM(P8:Q8)/O8,0) would go something like this: IFERROR((SUM(COLUMN1) + SUM(COLUMN2)) /SUM(COLUMN3);0;(SUM(COLUMN1) + SUM(COLUMN2)) /SUM(COLUMN3))
Please be careful with the parenthesis as they will have a significant influence on the calculations.
Let me know how it goes. I'll gladly elaborate as well.
Best,
Martin
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!