Forum Discussion

Molika's avatar
Molika
Regular Visitor
1 year ago
Solved

Power Bi -> Max_value and Count

Hi   The table is filtered by the Date column.   first question: i am trying to output the maximum date in one column and the minimum date in a second column. Both should come from the date colum...
  • v-sgandrathi's avatar
    v-sgandrathi
    1 year ago

    Hi Molika,

    I understand your requirement.
    Please find the updated DAX measure below:

    DateCountPerID_Filtered =

    CALCULATE(

        COUNTROWS('Table'),

        FILTER(

            'Table',

            'Table'[ID] = MAX('Table'[ID])

        )

    )

     

    Please refer below attached snaps for your reference.

     

    I hope my suggestions provided valuable insights. If you have any further questions, don’t hesitate to ask in a follow-up message.
    If this post helped, please mark it as "Accept as Solution" so others can benefit as well.

     

    Best regards,
    Sahasra.