Forum Discussion

daedah's avatar
daedah
Helper II
6 years ago
Solved

repeat maintenance

Hi I tring to calculate DAX measure for power bi ,calculate repeat maintenance by machine_name and Reason in month Example data Date                                Machine_name                    ...
  • parry2k's avatar
    6 years ago

    daedah it should be a simple measure and then whatever slicer you use the count will change, in this case you will on Nov, 2019 and the measure for count is:

     

    Maintenance Count = COUNTROWS ( YourTable )

     

  • v-chuncz-msft's avatar
    v-chuncz-msft
    6 years ago

    daedah 

     

    Simply drag the fields and measure above to a Table visual. A measure always operates on aggregations of data under the evaluation context.