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 September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors