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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Using count inside count

Let's see if I can explain this the right way...Please comment for clarification

 

I have a calculated measure (total views) that I am using in a table, and when paired with the user ID field, it gives the total number of views per user. I want to be able to count how many are >10. A seperate table cannot be created because I will need to filter by date and location as well. Is there any way to do this? I have the correct table (shown as a visualization) shown below, and the formula (not working) I was trying to use below

 

dero_0-1657715686882.png

dero_1-1657715769753.png

 

 

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

You can create a measure like

Views > 10 =
var summaryTable = ADDCOLUMNS( VALUES('Table'[User ID]), "@num views", [Total Views])
return COUNTROWS( FILTER( summaryTable, [@num views] > 10) )

View solution in original post

2 REPLIES 2
johnt75
Super User
Super User

You can create a measure like

Views > 10 =
var summaryTable = ADDCOLUMNS( VALUES('Table'[User ID]), "@num views", [Total Views])
return COUNTROWS( FILTER( summaryTable, [@num views] > 10) )
Anonymous
Not applicable

Looks like this did the trick. Thanks so much becuase I was really struggling with this one

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.