Forum Discussion
DAX help on text only table
- 6 years ago
Hi omooba ,
Try COUNTROWS(YourTableName). May I also suggest you get the book, Supercharge Power BI by MattAllington or something similar to get you started?
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel - 6 years ago
Hi omooba ,
Here is an a blog about dealing with blanks that you might enjoy.blank in dax There is also count, counta, countax.
The COUNTX function takes two arguments. The first argument must always be a table, or any expression that returns a table. The second argument is the column or expression that is searched by COUNTX.
The COUNTX function counts only values, dates, or strings. If the function finds no rows to count, it returns a blank.
If you want to count logical values, use the COUNTAX function.
Nathaniel
Hi omooba ,
Try COUNTROWS(YourTableName). May I also suggest you get the book, Supercharge Power BI by MattAllington or something similar to get you started?
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Thanks for your help, that did work but its worth pointing out that it will also count "null" rows.
But it worked. appreciate.
- Nathaniel_C6 years ago
Community Champion
Hi omooba ,
Here is an a blog about dealing with blanks that you might enjoy.blank in dax There is also count, counta, countax.
The COUNTX function takes two arguments. The first argument must always be a table, or any expression that returns a table. The second argument is the column or expression that is searched by COUNTX.
The COUNTX function counts only values, dates, or strings. If the function finds no rows to count, it returns a blank.
If you want to count logical values, use the COUNTAX function.
Nathaniel