The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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
User | Count |
---|---|
14 | |
12 | |
8 | |
6 | |
5 |
User | Count |
---|---|
29 | |
18 | |
13 | |
8 | |
5 |