Forum Discussion
Table visual rows count
- 8 years ago
Anonymous
Try with this MEASURE
Bacially try putting all the row fields inside Summarize function
MEASURE = COUNTROWS ( SUMMARIZE ( TableName[G/L Account], TableName[Customer], TableName[Assignment], TableName[Document number], TableName[Type], TableName[Posting Date], TableName[Year/Month], TableName[Year], TableName[BusA], TableName[Dos Date], TableName[Reference], TableName[PK] ) )
Hi Anonymous
As Greg_Deckler said, the measure can calculate the total rows of the table depite some column you used aggregate function like sum.
However, the total value can't show at the top of the table.
Best Regards
Maggie
- Zubair_Muhammad8 years ago
Community Champion
Anonymous
Try with this MEASURE
Bacially try putting all the row fields inside Summarize function
MEASURE = COUNTROWS ( SUMMARIZE ( TableName[G/L Account], TableName[Customer], TableName[Assignment], TableName[Document number], TableName[Type], TableName[Posting Date], TableName[Year/Month], TableName[Year], TableName[BusA], TableName[Dos Date], TableName[Reference], TableName[PK] ) )- pthapa2 years ago
Post Patron
Hello,
I want to see how many rows are in the table visual in PBI. The measure COUNTROWS(table) will give me all the rows present in the table, which I don't want. I just want to see the total rows in the visual, how can I do that?
Thankspthapa
- rgouette1 year ago
Helper II
unreal, how difficult they have made it...to just count the # of rows on a table visual...
seriously..I don't get it
- Martaspg2 years ago
Advocate I
You need to define a measure that count the number of distintct elements of the elements that you are using in the visual table. Try the following, for a visual table that hast N columns in it would be
COUNTROWS(GROUPBY('table'[columnA],[columnB],...,[columnN]))