Forum Discussion

kekepania0529's avatar
4 years ago
Solved

Excel SUMIFS conversion help

I have the following excel formula that I need to convert to DAX for Power BI (Power BI column names are in italics within the excel formula):   Area Contract Price = IFERROR(SUMIFS('Contract Detai...
  • kekepania0529's avatar
    4 years ago

    i was able to get my desired results with this :

    Area Contract Pricing = AVERAGEX(FILTER( 'Contract Detail','Contract Detail'[Area] = 'Inbound Detail'[Area] &&
              'Contract Detail'[Product Class Desc] = 'Inbound Detail'[Material Grade]), 
              DIVIDE('Contract Detail'[Sell Extended Price], 'Contract Detail'[Sell Ordered LB], 0))