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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
shhafiz
Employee
Employee

Table Visualization: Getting total number of rows on current selection

Is there anyway we can get the count of rows that are currently selectd after applying all necessary filters?

One way I can think of is exporting the selection and then counting the rows in Excel. However, I am interested in showing this value along side the table.

 

How can I achieve this?

 

Thanks.

 

 

 

1 ACCEPTED SOLUTION
v-huizhn-msft
Employee
Employee

Hi @shhafiz,

Try to create a measure using the formula below and check if it works fine.

result= COUNTROWS(ALLSELECTED(TableName))


Best Regards,
Angelia

View solution in original post

2 REPLIES 2
v-huizhn-msft
Employee
Employee

Hi @shhafiz,

Try to create a measure using the formula below and check if it works fine.

result= COUNTROWS(ALLSELECTED(TableName))


Best Regards,
Angelia

Ashish_Mathur
Super User
Super User

Hi,

 

Try this calculated field formula

 

=COUNTROWS(Data)

Replace Data with your Table name.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.