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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
Anonymous
Not applicable

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

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.