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

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

Reply
Anonymous
Not applicable

Direct query : problem with data

Hi,

 

I used direct query for load a big data frame but when I try to display a measure it returns nothing (vide)

And when I use import instead of direct query it works..

This is 3 screens to explain my problem, thanks !

cf1.PNGcf2.PNGcf3.PNG 

1 REPLY 1
Anonymous
Not applicable

Hi@Anonymous,

 

I'm sorry I can't reproduce your problem.

According to what you mentioned above, it works fine in import mode, but not in direct query.

Based on the known limitations, Please check if the underlying data source contains measures, such as SAP HANA or SAP Business Warehouse, then importing the data brings other issues.

It means that the data imported is at a particular level of aggregation, as defined by the query. But it's an issue for non-additive measures, such as Average, DistinctCount.

Also, AVERAGE function is not supported for use in Direct Query mode when used in calculated columns or row-level security (RLS) rules.

Please check if the mentioned data source is used, if the data source contains measures, and if RLS is included in the data source.

 

If this does not solve your problem, please provide more details and be free to let me know.

Articles for reference: Average-function-dax   About using DirectQuery in Power BI

 

Hope it helps.

 

Best Regards,

Caitlyn Yan

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
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.