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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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