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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.

Top Solution Authors