Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Atualmente, há uma diferença muito "confuso" entre as funções DAX:COUNT e COUNT. Pois elas, são muito semelhantes quanto ao resultado. Não compreender qual é a utilidade de ambas as semelhanças e, qual das duas medidas é útil? Serei muito grato se alguém puder me ajudar nessa compreensão.
Solved! Go to Solution.
Hi @rodrigues_olive ,
This is a recent enhancement to the COUNT function. Previously COUNT function doesn't count strings but just raise an error. We have since enhanced the function to count strings as well. You can refer to Remarks section in this article: COUNT Function (DAX).
The COUNT function counts rows that contain the following kinds of values:
Numbers
Dates
Strings
Regarding the COUNTA Function (DAX), it counts not just rows that contain numeric values, but also rows that contain nonblank values, including text, dates, and logical values.
The difference between those two functions are, COUNTA can count TRUE/FALSE column but COUNT still raises an error.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @rodrigues_olive ,
This is a recent enhancement to the COUNT function. Previously COUNT function doesn't count strings but just raise an error. We have since enhanced the function to count strings as well. You can refer to Remarks section in this article: COUNT Function (DAX).
The COUNT function counts rows that contain the following kinds of values:
Numbers
Dates
Strings
Regarding the COUNTA Function (DAX), it counts not just rows that contain numeric values, but also rows that contain nonblank values, including text, dates, and logical values.
The difference between those two functions are, COUNTA can count TRUE/FALSE column but COUNT still raises an error.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 14 | |
| 5 | |
| 4 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 25 | |
| 10 | |
| 10 | |
| 6 | |
| 6 |