Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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 |
Solved! Go to Solution.
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
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