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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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