Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Count function on direct query

I want to use count function in direct query mode.

I'm unable to use it. The formula does not return an error.

Measure = COUNT('Bölge Yöneticisi'[Bölge Yöneticisi Düzey 01])

when i try to use it on chart I'm getting this error.

Screenshot_2.png

4 REPLIES 4
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

What's the version of your Power BI desktop? You could update to the latest version and check if it works.

If this problem still exists, to get faster and better technical support for this issue, you may directly create a support ticket.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
Anonymous
Not applicable

Hi @v-eachen-msft 
My pbi desktop version is May 2020

Actually I want to get information about this. When using Direct Query Mode, Count function must be working, right ?

If it is a problem about my case then i would create a ticket.

amitchandak
Super User
Super User

@Anonymous , which Database you are facing this issue

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak 
SAP BW

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors