Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi!
I have table with column 'owner'.
I need to make 'index' which is incremented if the owner is equal to 'G' :
owner ... index
G 1
S 1
G 2
S 2
G 3
T 3
T 3
T 3
T 3
S 3
Thanks
Solved! Go to Solution.
Hi @sertim,
I think you need to add an original sort index column to let the formula loop through the table.
Below is the sample.
Original table:
Write calculated column to calculate index based on id.
Index = COUNTROWS(FILTER(ALL('Sample'),[ID]<=EARLIER([ID])&&[Owner]="G"))+0
Result:
Regards,
Xiaoxin Sheng
Hi @sertim,
I think you need to add an original sort index column to let the formula loop through the table.
Below is the sample.
Original table:
Write calculated column to calculate index based on id.
Index = COUNTROWS(FILTER(ALL('Sample'),[ID]<=EARLIER([ID])&&[Owner]="G"))+0
Result:
Regards,
Xiaoxin Sheng
It works!
This is what I need.
Many thanks.
User | Count |
---|---|
91 | |
73 | |
68 | |
63 | |
55 |
User | Count |
---|---|
98 | |
89 | |
74 | |
67 | |
62 |