Forum Discussion

AnkurSharma's avatar
AnkurSharma
Helper I
2 years ago
Solved

Conditional Sequence

Hi ,
Need help .I have Part # column in Power bi which has Part #  in it. 
I want to create the custom column  , which checks if the current "Part#" is different from the "Part#" in the previous row. If it is different, it starts a new sequence with 1; otherwise, it continues the sequence by incrementing the previous index.

Please share Pbix. Thanks for helping. Appriciate your effort.

SequencePart#
13856
12345
22345
32345
11234
21234

 

4 Replies