Forum Discussion
Anonymous
6 years agoNot applicable
Compare second row value with first value in same column
HI,
I need create a new column where Comparing second row value with first value in same column. check the below table with result column.
| Internal ID | Opty repeat |
| OP# 01139295 | No |
| OP# 01139295 | Yes |
| OP# 01139295 | Yes |
| OP# 01139295 | Yes |
| OP# 01139295 | Yes |
| OP# 01139295 | Yes |
| OP# 01139295 | Yes |
| OP# 01139295 | Yes |
| OP# 01164669 | No |
| OP# 01164669 | Yes |
| OP# 01164669 | Yes |
| OP# 01164669 | Yes |
| OP# 01164669 | Yes |
| OP# 01164669 | Yes |
| OP# 01139295 | No |
| OP# 01139295 | Yes |
| OP# 01139295 | Yes |
| OP# 01139295 | Yes |
| OP# 01139295 | Yes |
Hi Anonymous ,
I've create this file as an example: Download PBIX
It uses Power Query to create an index for each value, and gives the No to index = 0 on each internal ID.
If you consider it as a solution, please mark as a solution and kudos.
Ricardo
1 Reply
- camargos88
Community Champion
Hi Anonymous ,
I've create this file as an example: Download PBIX
It uses Power Query to create an index for each value, and gives the No to index = 0 on each internal ID.
If you consider it as a solution, please mark as a solution and kudos.
Ricardo