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
kaarel
Resolver I
Resolver I

Direct Query on top of SQL 2017 view gives wrong results

Hi!

 

I've got a complicated SQL View, which has STRING_SPLIT and window functions (LAST_VALUE). It also uses another view.


Power BI Direct Query gives different results than Sql Server Management Studio. Is that to be expected? When using import, all is OK.


Best Wishes,
Kaarel.

3 REPLIES 3
v-shex-msft
Community Support
Community Support

HI @kaarel ,

For directquery mode, it will get last data from datasource when you interaction with visuals. I think these differences should more related to this 'sync' feature.

BTW, You can take a look at following link to know more about this:

Use DirectQuery in Power BI Desktop

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hi! The underlying data is static when testing the queries via SSMS and Power BI Desktop. Is there any documentation about the limitations when using SQL Views with window functions, string_split() or referenced views in Power BI Direct Query mode? Best Wishes, Kaarel.

Anyone?

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.