Forum Discussion

karkar's avatar
karkar
Icon for Helper III rankHelper III
9 years ago
Solved

DISTINCT VALUE

Hello,   How can I get unique value per ID from the below example? Currently it is giving the count of meas_value. i tried to change it to Calculate(DISTINCTcount(Query1[value]), in the below form...
  • Anonymous's avatar
    Anonymous
    9 years ago

    karkar,


    Please check if the following DAX returns your expected result.

    Total Count = Calculate(max(Query1[value]),Filter(ALL(Query1[Admission_Hours]),Query1[Admission_Hours] >72))

    Regards,