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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
duc
Helper I
Helper I

Count items appear once

Hi 

 

I have a table with Department and Product ID. I am trying to find a measure to count the Product ID that appears once (as below, only 3456 apear once). 

 

And then, when I click on visual of department, the table visual will show exactly those product ID appearing once.

 

DepartmentProduct
AProduct 1
AProduct 2
AProduct 3
BProduct 1
CProduct 4
CProduct 5
EProduct 2
FProduct 6

 

1 ACCEPTED SOLUTION
mangaus1111
Solution Sage
Solution Sage

Hi @duc ,

 

see my pbi file. Let me know if the link does not work.

 

https://1drv.ms/u/s!Aj45jbu0mDVJiyDZKjw9cPH1kn64?e=SCRxz2

 

View solution in original post

3 REPLIES 3
mangaus1111
Solution Sage
Solution Sage

Yes, it seems to me that it works with filters as well.

 

mangaus1111_0-1666513980064.png

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

mangaus1111
Solution Sage
Solution Sage

Hi @duc ,

 

see my pbi file. Let me know if the link does not work.

 

https://1drv.ms/u/s!Aj45jbu0mDVJiyDZKjw9cPH1kn64?e=SCRxz2

 

@mangaus1111  Thansk for your help. I tried your solution and it works well. May I ask further if it works with Filter as well, since we are adding a calculated column? I am looking for a measure to work with filter.

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors