Forum Discussion

PomJack's avatar
PomJack
Frequent Visitor
1 year ago
Solved

Help creating a column that determines whether or not a row is displayed after counter reset

Hi Power BI Community,   I've been struggling with this problem for a while and have not found a work around for it yet. I am working with the table below and I would only like to display certain r...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Thanks for the reply from lbendlin.

     

    Hi PomJack,

     

    As lbendlin said, we can create a measure and here are the steps to do so:

    1. Create a measure:

     

    Display = 
    VAR _date=CALCULATE(MAX('Table'[Time Stamp]),FILTER(ALL('Table'),'Table'[Error Count]=1))
    RETURN
    IF(MAX('Table'[Time Stamp])>=_date,"y","n")

     

     

    2. Filter the data with the measure value of y:

    3. Result:

    Best Regards,
    Zhu

     

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