Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hi Everyone, I have a table visual and I want to show the number of rows within that visual in a card, I want it to be dynamic such that whenever a filter get applied then the number should be updated. Any help will be much appreciated
Solved! Go to Solution.
Hi @niyatisheth,
Can you please try the below measure, I used it in few of my reports
Table Row Count = COUNTROWS('YourTableName')
If table has multiple tables joined:
Table Row Count = COUNTROWS(SUMMARIZE('MainTable', 'MainTable'[KeyColumn]))
If this answer helped, please click Kudos or Accept as Solution.
-Kedar
LinkedIn: https://www.linkedin.com/in/kedar-pande
Table Row Count = COUNTROWS('YourTableName')
If table has multiple tables joined:
Table Row Count = COUNTROWS(SUMMARIZE('MainTable', 'MainTable'[KeyColumn]))
If this answer helped, please click Kudos or Accept as Solution.
-Kedar
LinkedIn: https://www.linkedin.com/in/kedar-pande
Hi @niyatisheth,
I hope you are doing well today ☺️❤️
So basically to show a dynamic count of rows in a table visual that updates with filters create this measure:
Row Count = COUNTROWS('YourTableName')Bonus Approach: (if you need to count only visible columns)
Row Count = COUNTROWS(ALLSELECTED('YourTableName'))
Hi @niyatisheth,
Can you please try the below measure, I used it in few of my reports
Create a measure with this DAX code
COUNTROWS ( YourTable )
If this helped, please consider giving kudos and mark as a solution
@me in replies or I'll lose your thread
Want to check your DAX skills? Answer my biweekly DAX challenges on the kubisco Linkedin page
Consider voting this Power BI idea
Francesco Bergamaschi
MBA, M.Eng, M.Econ, Professor of BI
Hii @niyatisheth
To show the number of rows in your table visual dynamically, create this simple measure:
Row Count =
COUNTROWS(VALUES(YourTable[PrimaryKeyColumn]))
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 9 | |
| 7 | |
| 5 |