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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
paulohm
Regular Visitor

new column with the count how many times it is repeated

ID_1DATEID_USERDATEQNT
112/11/201915010/05/2019186
206/03/202018402/01/202064
328/02/202018701/12/201989
415/05/202018701/12/2019166
504/06/202018701/12/2019186
617/07/201937612/05/201966
721/08/201937612/05/2019101
823/08/201937612/05/2019103
920/09/201937612/05/2019131
1025/10/201937612/05/2019166
1120/02/202037612/05/2019284
1220/02/202037612/05/2019284

 

I need a new column that counts how many times the ID_USER was repeated, no problem, the data displays more than once

2 ACCEPTED SOLUTIONS
harshnathani
Community Champion
Community Champion

HI @paulohm ,

 

 

Create a Column

 

Column = CALCULATE(Count('Table'[ID_USER]),ALLExcept('Table','Table'[ID_USER]))
 
1.jpg
 
 

Regards,
Harsh Nathani

Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

View solution in original post

Hi @paulohm ,

 

Based on Column created, create a new measure.

 

CC of Cust =

CALCULATE(COUNT(Table14[QNT]),FILTER(Table14, Table14[Column]>6 && Table14[QNT] <140))
 

Regards,
Harsh Nathani

Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

View solution in original post

4 REPLIES 4
harshnathani
Community Champion
Community Champion

HI @paulohm ,

 

 

Create a Column

 

Column = CALCULATE(Count('Table'[ID_USER]),ALLExcept('Table','Table'[ID_USER]))
 
1.jpg
 
 

Regards,
Harsh Nathani

Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

@harshnathani 
Thanks for the help above, but I need one more favor.

I now need to know the number of users who showed up more than 6 times, and that the QNT was less than 140.

I need to know the number of users without repeating

Hi @paulohm ,

 

Based on Column created, create a new measure.

 

CC of Cust =

CALCULATE(COUNT(Table14[QNT]),FILTER(Table14, Table14[Column]>6 && Table14[QNT] <140))
 

Regards,
Harsh Nathani

Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

THANK YOU FRIEND

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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