Forum Discussion
gaccardo
Advocate II
8 years agoOff-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...
- 8 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
Microsoft Employee
8 years agoHi 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
gaccardo
Advocate II
8 years agoThank you v-cherch-msft. That was an excellent explanation and a very informative article.