Forum Discussion
jpcbr
9 years agoRegular Visitor
Detecting duplicates by validating two column
Hello :) Im new at power bi, so im sorry for the noob question :P So i have a table more or less like this Company Stage microsoft MAL asus MQL toshiba SAL lg MAL a...
- 9 years ago
Please refer to the steps below to achieve your requirement.
- Add a index column.(Edit Query)
- Create a column to combine company and stage column.
CompanyStage = Table1[Comapny]&Table1[Stage] - Create your expected column.
outputcolumn = IF(RANKX(FILTER(Table1,Table1[CompanyStage]=EARLIER(Table1[CompanyStage])),Table1[Index],,ASC)>1,BLANK(),Table1[Stage])
Regards,
Charlie Liao
- Add a index column.(Edit Query)
v-caliao-msft
9 years agoMicrosoft Employee
Please refer to the steps below to achieve your requirement.
- Add a index column.(Edit Query)
- Create a column to combine company and stage column.
CompanyStage = Table1[Comapny]&Table1[Stage] - Create your expected column.
outputcolumn = IF(RANKX(FILTER(Table1,Table1[CompanyStage]=EARLIER(Table1[CompanyStage])),Table1[Index],,ASC)>1,BLANK(),Table1[Stage])
Regards,
Charlie Liao
jpcbr
9 years agoRegular Visitor
Thats very well thought!!! Thanks a lot :D