Forum Discussion
Markzolotoy
Impactful Individual
5 years agoDAX - Queries don run
I am learning DAX by reading "The definitive Guide to DAX". So I am typing in the following command: COUNTROWS(VALUES('TABLENAME'[COLUMNNAME]) and get that query completed with errors. CAn someone t...
- 5 years ago
Markzolotoy
I believe you are using DAX Studio,. To run a measure, wrap it in curly brackets:
EVALUATE
{ COUNTROWS(VALUES('test_ptsd'[payor_name])) }
Fowmy
Super User
5 years agoMarkzolotoy
Missing the last bracket. Make sure you are creating a New Measure
COUNTROWS( VALUES('TABLENAME'[COLUMNNAME]) )
Markzolotoy
Impactful Individual
5 years ago