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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Get number of distinct users above count

Hi,

 

I'm new to Power BI and have a table with documents, users and timestamp. 
I have created two count measures, distinct and just count. Now I would like to add a third measure that shows how many users have more than 10 rows for each document and show that in a table.

 

Not sure how to get this measure to work.

Thanks so much!

1 ACCEPTED SOLUTION

@Anonymous 

 

Create a summarize table (not measure or column)

Table = SUMMARIZE(Sheet1, Sheet1[Document], Sheet1[User], "No of Rows", COUNT(Sheet1[Document]))

 

Then on this table write a count formula:

No of Users = CALCULATE(DISTINCTCOUNT('Table'[User]),'Table'[No of Rows]>2)

 

See attached file.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

@themistoklis 
No, I do not have that. Each row has the document name, user and a timestamp. 
Might have to get the count of each document? But with a table visual I can easy show documents and the count of unique uesers and total rows for each document. Just would like to add another measure that shows how many unique users have a count of more than 10.

 

Thank!

@Anonymous 

 

Create a summarize table (not measure or column)

Table = SUMMARIZE(Sheet1, Sheet1[Document], Sheet1[User], "No of Rows", COUNT(Sheet1[Document]))

 

Then on this table write a count formula:

No of Users = CALCULATE(DISTINCTCOUNT('Table'[User]),'Table'[No of Rows]>2)

 

See attached file.

themistoklis
Community Champion
Community Champion

Helo @Anonymous 

 

Is there a field that shows the number of rows per document?

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors