Forum Discussion
niyatisheth
8 months agoNew Member
DAX Help
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 update...
- 8 months ago
Hi niyatisheth,
Can you please try the below measure, I used it in few of my reportsCountrows_15min =var a=SUMMARIZE ('Contact Record','Calendar Table'[DateTime],'Calendar Table'[Time],"tc",[Total Calls])RETURNCONCATENATE("Total Row Count: ",(COUNTROWS(a))) - 8 months ago
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
FBergamaschi
8 months agoSuper User
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