Forum Discussion

dhineshlee_2528's avatar
dhineshlee_2528
Frequent Visitor
3 years ago

Exponential Constants for the Curve using DAX

Hi PBI Experts,

 

     May I know how to calculate Exponential equation constants for the Curves using DAX in Power BI?

Need to convert const1=INDEX(LOGEST({Y-RANGE},{X-RANGE}),1)

const2=INDEX(LOGEST({Y-RANGE},{X-RANGE}),2) to DAX Formula.

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi  dhineshlee_2528 ,

     

    Can you show the expected result in the form of a picture, we can better help you

    If convenient, Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

     

    Best Regards,

    Liu Yang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • dhineshlee_2528's avatar
      dhineshlee_2528
      Frequent Visitor

      Hi Anonymous ,

       

           PFA for the required output. 

       

      Thanks,

       

      Athira

       

    • dhineshlee_2528's avatar
      dhineshlee_2528
      Frequent Visitor

      Hi Anonymous ,

       

           Sharing with you a sample dataset with the required columns( X and Y) used for calculating the exponential curve constants using DAX. 

      const1=INDEX(LOGEST({Y-RANGE},{X-RANGE}),1)

      const2=INDEX(LOGEST({Y-RANGE},{X-RANGE}),2)

      Sum of Drilled interval (m) (x)Sum of Dry hole days (y)
      193632.81
      165119.81
      190422
      288258.48
      11959.84
      138310.12
      178212.23
      163021.71
      1483118.92
      190433.89
      117518.65
      132929.69
      184437.2
      184518.01
      134032.96