Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
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]))
Vote for your favorite vizzies from the Power BI World Championship submissions!
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 |
|---|---|
| 7 | |
| 6 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 16 | |
| 11 | |
| 10 | |
| 6 | |
| 5 |