Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
20 | |
14 | |
11 | |
10 | |
8 |