Forum Discussion
gaccardo
7 years agoAdvocate II
Off-by-One Error using COUNTX() and ALL()
I have an issue when using COUNTX () with the ALL() function. The value returned is the actual number of rows plus one. I've verified this with a bunch of tables, and I've got a solution, specifica...
- 7 years ago
Hi gaccardo
You may refer to ALLNOBLANKROW Function and ALL Function. Here is the article for you. Show a sample as below:
We can get the correct count of rows with ALLNOBLANKROW Function as it returns all rows but the blank row from the parent table of a relationship.
Regards,
Cherie
v-cherch-msft
7 years agoMicrosoft Employee
Hi gaccardo
You may refer to ALLNOBLANKROW Function and ALL Function. Here is the article for you. Show a sample as below:
We can get the correct count of rows with ALLNOBLANKROW Function as it returns all rows but the blank row from the parent table of a relationship.
Regards,
Cherie
- gaccardo7 years agoAdvocate II
Thank you v-cherch-msft. That was an excellent explanation and a very informative article.