Forum Discussion

tiagomarciano's avatar
tiagomarciano
Frequent Visitor
8 years ago
Solved

Custom column Index by two columns group

Hello people good night!   I have the following challenge. I would like to apply a sequential index to two groups of information, they are: - Category; - Date; The image below details the ob...
  • Ashish_Mathur's avatar
    8 years ago

    Hi tiagomarciano,

     

    Try this calculated column formula

     

    =CALCULATE(DISTINCTCOUNT(Data[Data]),FILTER(Data,Data[Category]=EARLIER(Data[Category])&&Data[Data]<=EARLIER(Data[Data])))