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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors