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! Learn more

Reply

Excel to Power Bi Report

Hello,

I am trying to convert excel report to power bi report,

  1. In excel $ is for constant but in power bi is there any options available?
  2. How to write below excel formula in power bi?

=IFERROR(AVERAGEIF('Historical '!$A$3:$X$100687,'Current Year '!$A2,'Historical '!$X$3:$X$100687),"No AUP ")

Can anyone help me?

Thanks

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @tejapowerbi123,

 

There is no such a corresponding symbol that works like $ to specify a constant cell value in Power BI. We should specify a column name and hardcode the actual value inside a cell in DAX formula. The above excel formula can be converted to DAX similar to below:

New Column =
IFERROR (
    CALCULATE (
        AVERAGE ( TableName[Value] ),
        FILTER ( TableName, <"Filter Expression"> )
    ),
    "No AUP"
)

 

You should replace the underlined part with the actual filter context, like TableName[Column1]="Category1" or TableName[Column1]=TableName[Column2]

 

For more advice, please share sample data and show us the desired result which you have got in Excel. How to Get Your Question Answered Quickly

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @tejapowerbi123,

 

There is no such a corresponding symbol that works like $ to specify a constant cell value in Power BI. We should specify a column name and hardcode the actual value inside a cell in DAX formula. The above excel formula can be converted to DAX similar to below:

New Column =
IFERROR (
    CALCULATE (
        AVERAGE ( TableName[Value] ),
        FILTER ( TableName, <"Filter Expression"> )
    ),
    "No AUP"
)

 

You should replace the underlined part with the actual filter context, like TableName[Column1]="Category1" or TableName[Column1]=TableName[Column2]

 

For more advice, please share sample data and show us the desired result which you have got in Excel. How to Get Your Question Answered Quickly

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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