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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Count Row in report

Hi, 

 

I have a report where I want to count the number of row I display in my table. I am using COUNT but I happend to have a gap between the data the table display and the data in my dataset. 

 

For exemple There is one particular value that I filter, it match with 12 row in the dataset but the table only show me 2 of this row (because there is no difference between those row)

 

So the count say 12 row, So my question is : Is there any way to count the number of row displayed ?

 

Thanks in advance 

1 ACCEPTED SOLUTION
harshnathani
Community Champion
Community Champion

Hi @Anonymous ,

 

 

Try something like 

 

CountRows =
COUNTROWS (
    SUMMARIZE (
        ALLSELECTED ( 'Table' ),
        Table[Column Name1],
         Table[Column Name2], 
    )
)

 

 

Difficult to comment until you share sample data or what you are trying to acheive.

 

Regards,

Harsh Nathani

Appreciate with a Kudos!! (Click the Thumbs Up Button)


Did I answer your question? Mark my post as a solution!

 

View solution in original post

1 REPLY 1
harshnathani
Community Champion
Community Champion

Hi @Anonymous ,

 

 

Try something like 

 

CountRows =
COUNTROWS (
    SUMMARIZE (
        ALLSELECTED ( 'Table' ),
        Table[Column Name1],
         Table[Column Name2], 
    )
)

 

 

Difficult to comment until you share sample data or what you are trying to acheive.

 

Regards,

Harsh Nathani

Appreciate with a Kudos!! (Click the Thumbs Up Button)


Did I answer your question? Mark my post as a solution!

 

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.