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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
baBI123
Helper II
Helper II

group same numbers into one number

example.png

 

Hello, I need help with this file. I need to group all of the part numbers together so that it only reads one part number but then have a column that reads how many times that PN came up. 

Like this 
PN                            Count
000-110-006              3
003-001-006              1
00861-0556-0001      9

 

 

Many thanks!

1 ACCEPTED SOLUTION
Phil_Seamark
Employee
Employee

Hi @baBI123

 

If you drag your Part Number field to the values area of your table visual twice, you can set the properties of one of the fields to be a count of...

 

pn.png


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

2 REPLIES 2
Phil_Seamark
Employee
Employee

Hi @baBI123

 

If you drag your Part Number field to the values area of your table visual twice, you can set the properties of one of the fields to be a count of...

 

pn.png


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

thank you @Phil_Seamark that worked great! I appreciate it!

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.