Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
vjnvinod
Impactful Individual
Impactful Individual

Exclude data in power query using coloumn

Hi All,

 

I need to create a coloumn in power query using a condition 

where

if 

Employee GUI coloumn is duplicate & Engagement ID coloumn is duplicate & Transaction date is duplicate but Hours are reversed let say -5 and 5

thn

show me that coloumn as No, else yes

 

how to do that, here the issue is with hours coloumn as i need to consider negative and postive of same number as Duplicate

so if hours=-5,5 meets the above if condition, hours should also be duplicate

 

Capture.PNG

1 ACCEPTED SOLUTION
v-deddai1-msft
Community Support
Community Support

Hi @vjnvinod ,

 

Are you trying to remove duplicate rows based on Employee GUI ,  Engagement ID , Transaction date and reversed  Hours?

 

You can follow the steps:

 

Create a new column by Hours column:

 

Capture.PNG

 

Then multi-select Employee GUI ,Engagement ID, Transaction date and the new column. Right click and Remove Duplicate.

 

Capture2.PNG

 

If this post help, please consider accept it as the solution to help others find it more  quickly.

 

Best Regard,

Dedmon Dai

 

View solution in original post

3 REPLIES 3
v-deddai1-msft
Community Support
Community Support

Hi @vjnvinod ,

 

Are you trying to remove duplicate rows based on Employee GUI ,  Engagement ID , Transaction date and reversed  Hours?

 

You can follow the steps:

 

Create a new column by Hours column:

 

Capture.PNG

 

Then multi-select Employee GUI ,Engagement ID, Transaction date and the new column. Right click and Remove Duplicate.

 

Capture2.PNG

 

If this post help, please consider accept it as the solution to help others find it more  quickly.

 

Best Regard,

Dedmon Dai

 

PhilipTreacy
Super User
Super User

Hi @vjnvinod 

it's not really clear what you want.  Are you trying to find duplicate rows? I don't see any duplicate rows in your sample image.

Can you please post some sample data, not a screenshot, so we don't have to recreate your data.

thanks

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


@PhilipTreacy 

 

actually you are right, duplicate rows on 4 coloumns on the above thread and for the the 4th coloumn there is condition

4th coloumn which is "Hours", should find the duplicate numbers based negative numbers, basically if its -5,5, its duplicate

and then if all of the rows in the 4 coloumns are duplicate, tn its duplicate, else its not duplicate

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors