Forum Discussion

PradeepVarma's avatar
PradeepVarma
Regular Visitor
5 years ago
Solved

index and Match Function in Power BI

Hello,

 

Please refer to below snapshot and syntax of Y3 cell from Excel File, i am looking for equivalent DAX syntax to get similar output in Power BI.

 

Please review and suggest.

 

Thanks.,

Pradeep

  • in calculated column, this code might work =minx(filter(table,table[system name]=earlier(table[system name])&&table[mulfunction end date]>earlier(table[mulfunction end date])),table[mulfunction end date])

     

  • wdx223_Daniel's avatar
    wdx223_Daniel
    5 years ago

    PradeepVarma  it could be

    =averagex(filter(table,table[system name]=earlier(table[system name])),table[day between next brk])

4 Replies

  • wdx223_Daniel's avatar
    wdx223_Daniel
    Icon for Community Champion rankCommunity Champion

    in calculated column, this code might work =minx(filter(table,table[system name]=earlier(table[system name])&&table[mulfunction end date]>earlier(table[mulfunction end date])),table[mulfunction end date])

     

    • PradeepVarma's avatar
      PradeepVarma
      Regular Visitor

      Can you suggest syntax in DAX for below Excel formula

       

       

      • wdx223_Daniel's avatar
        wdx223_Daniel
        Icon for Community Champion rankCommunity Champion

        PradeepVarma  it could be

        =averagex(filter(table,table[system name]=earlier(table[system name])),table[day between next brk])