Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago

Index column

Hi, 

i'd create an index column with like this:


Do you have a solution ? 


Bal

2 Replies

  • HotChilli's avatar
    HotChilli
    Icon for Community Champion rankCommunity Champion
    Column = VAR _Item = Table1[Item]
             VAR _Day = Table1[Day]
    RETURN  
     CALCULATE(COUNT(Table1[Item]), FILTER(Table1, Table1[Day] <= _Day && Table1[Item] = _Item ))

    Add a column like this.

     

    Quick tip : to get quicker answers, post your data instead of a picture of the data

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi, 

      i have to add a column like "index" based on the count of date and the different id_report.