Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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 tell what the problem is?
Thanks
Solved! Go to Solution.
@Markzolotoy
I believe you are using DAX Studio,. To run a measure, wrap it in curly brackets:
EVALUATE
{ COUNTROWS(VALUES('test_ptsd'[payor_name])) }
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Markzolotoy
I believe you are using DAX Studio,. To run a measure, wrap it in curly brackets:
EVALUATE
{ COUNTROWS(VALUES('test_ptsd'[payor_name])) }
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Markzolotoy
Missing the last bracket. Make sure you are creating a New Measure
COUNTROWS( VALUES('TABLENAME'[COLUMNNAME]) )
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!