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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.