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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.