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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.