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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-xiaoyan-msft
Community Support
Community Support

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.