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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Classified duplicated rows by specific value from another columns

Hi guys, I'm new to powerBI and would require your help to sort out below question which I am facing.

With my dataset, I have a columns as shown below.

Capture.PNG

My Sheet Number columns have duplicated value based on day. Quality of sheet is classified as BAD or NORMAL for further analysis.

The problems here is I have an duplicated rows of Sheet Number which are showing BAD and NORMAL. I want to create a DAX to indicate the duplicated Sheet Number with BAD qulity to sorted it out. Please Help!!

 

Best Regards,

PJ

5 REPLIES 5
Anonymous
Not applicable

Hry @Anonymous 

Did you try using the filters?
Filter out where quality=bad.

 

Thanks!
A

Anonymous
Not applicable

Hi A!

 

Thanks for the reply @Anonymous  :), but from my dataset as shown. If I filter out BAD quality, I will not get BAD rows which need to be included. 

 

Thank you

Best regards,

PJ

Anonymous
Not applicable

Hey @Anonymous 

So I did not understnad your requirements.

Can you explain again?
Cheers,
A

Anonymous
Not applicable

Dear @Anonymous,

 

My requirement is I want to use DAX to create "Deleted" value of the rows that having an BAD quality which is also having NORMAL quality in the same Sheet number.

 

Thanks again for your support,

PJ

Anonymous
Not applicable

Hi @Anonymous 

Try creating a custom column.

INDICATION =
IF (
    [QUALITY] = "BAD",
    "DELETED",
    "INCLUDE"
)

Good Luck!
A

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors