Forum Discussion

VTB's avatar
VTB
Frequent Visitor
6 years ago
Solved

Can I replicate Product function from excel in DAX?

Trying to get Dax to do a Product array calculation, perhaps there is a better way too.  if i have a table with below:   Date Spread 6/19/2019 0.007414 6/20/2019 -0.00574 6/21/201...
  • Nathaniel_C's avatar
    6 years ago

    Hi VTB ,

    Yes there is product in Dax, and added another col to the table as PRODUCT only takes a column, with a slicer for the date.

    m1 = PRODUCT(Prod[plus 1])

    Be aware that when you go to format your table, the number of decimal places is grayed out, but just type the number into the box.

     

    If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
    Nathaniel