Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Function to show repeated repaired tools

Hello,   I have a list with thousands of tools our company repaired. What I want to see is, the tools which are more than one time repiard and that in a short period.   I have one column with the...
  • Anonymous's avatar
    Anonymous
    8 years ago

    There are a few ways you could do this.

     

    The simplest one is to use the following measure

     

    Count = 
    VAR RowCount =
        COUNTROWS ( Table1 )
    RETURN
        IF ( RowCount > 1, RowCount, BLANK () )

    then just have a table with the part column and this measure. Then add a date slicer and any parts that have more than one occurrence will show in the table.

     

    If you want to do it in a measure it can depend on the final context for this use.