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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Zakaria_1980
Post Patron
Post Patron

Help _ duplicates

Hi,

i ve Table with some codes and their Issued POs. as output, I ll need to keep only non duplicated Code & counting for me the issued POs.

i've tried to use the below measure at least to find number of POs issued for those cases with "/", but i didn't succeed to get what i'm looking for as output.

Thanks for your support.

 

LEN(Local_SubCo_DB[PO Number  ])-LEN(SUBSTITUTE(Local_SubCo_DB[PO Number  ],"/",""))+1

 

 

 

Zakaria_1980_0-1680950069899.png

 

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

show how you wrote, maybe you missed something

also try writing like this:

Screen Capture #850.png

View solution in original post

5 REPLIES 5
Zakaria_1980
Post Patron
Post Patron

very good , now it's working. what is the difference between the two (3O and max lent..) ?

Thanks a lot

Zakaria_1980
Post Patron
Post Patron

very good , now it's working. what is the difference between the two (3O and max lent..) ?

Thanks a lot

Ahmedx
Super User
Super User

show how you wrote, maybe you missed something

also try writing like this:

Screen Capture #850.png

Zakaria_1980
Post Patron
Post Patron

Thanks a lot, when I apply it to my case, I got the following msgerror

Zakaria_1980_0-1681035863176.png

 

Ahmedx
Super User
Super User

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
https://1drv.ms/u/s!AiUZ0Ws7G26RhxWFgowhCzKpxLeN?e=ioWVaK

Screen Capture #839.png

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Users online (4,158)