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
anmolmalviya05
8 months agoSuper User
Hi niyatisheth,
Can you please try the below measure, I used it in few of my reports
Countrows_15min =
var a=
SUMMARIZE ('Contact Record',
'Calendar Table'[DateTime],'Calendar Table'[Time],
"tc",[Total Calls]
)
RETURN
CONCATENATE("Total Row Count: ",(COUNTROWS(a)))