Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
chethan
Resolver III
Resolver III

Help on the Power BI DAX

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

4 REPLIES 4
Anonymous
Not applicable

 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

Anonymous
Not applicable

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

Anonymous
Not applicable

@chethan

 

Did you try out my suggestion?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors