No video

Maintaining Query Folding when Merging with Different Data Types

  Рет қаралды 1,092

Havens Consulting

Havens Consulting

Күн бұрын

Пікірлер: 14
@abhijeetghosh27
@abhijeetghosh27 3 ай бұрын
Cool trick.. 👌👌Thanks @Reid 😊👍
@Milhouse77BS
@Milhouse77BS 4 ай бұрын
This could useful. I like my queries to fold.
@jadwiga8759
@jadwiga8759 3 ай бұрын
good to know!
@imbhartesh
@imbhartesh 3 ай бұрын
Useful 👍
@gauravguliani358
@gauravguliani358 3 ай бұрын
Excellent Reid!
@OneNI83
@OneNI83 3 ай бұрын
Nice video. Better you could zoom in the focused frames.
@ngoduyvu
@ngoduyvu 3 ай бұрын
thanks for great video
@sohailansari9337
@sohailansari9337 3 ай бұрын
Nice👏
@Baldur1005
@Baldur1005 2 ай бұрын
Reid, isn't best practice is to write SQL Query instead of checking whether Query will fold or not?
@HavensConsulting
@HavensConsulting 2 ай бұрын
Native queries have their own complexities, and by default break any ability for Power Query to fold on top of it (more below) kzfaq.info/get/bejne/er2Sm5qp1ZacnGQ.html It also relies on having a developer know SQL and SQL optimization techniques, which are all built into the query folding engine. Like with most things though, it depends. :)
@1yyymmmddd
@1yyymmmddd 2 ай бұрын
What is so special about query folding? Why we should care about it? Incremental refresh works without query folding. Some folks say, it is quicker. But how can "Select * from Table1" writen by me (which does not fold) be slower than same thing written by the engine?
@HavensConsulting
@HavensConsulting 2 ай бұрын
It's the magic sauce of Power Query :). Transformations are translated from M (Power Query) to the source, and passed back for the source to transform (faster). Rather than Power BI downloading the unprocessed data, and doing it itself (slower). You can easily get a 5, 10, 20+ times performance increase when the source database does most the work. A quick google search would give you some helpful results like below on why it makes queries faster. www.reddit.com/r/PowerBI/comments/14strbb/what_does_folding_in_query_folding_means/ Also, to note,. Incremental refresh is explicitly advised NOT to use without folding. Because without folding you download the entire data before filtering to the relative period. Which is why when folding can't be confirmed with the engine, it gives a big warning that advises not to use incremental refresh. More below on that as well. learn.microsoft.com/en-us/power-bi/connect-data/incremental-refresh-overview
@1yyymmmddd
@1yyymmmddd 2 ай бұрын
@@HavensConsulting Thank you for your explanation. Are you saying if I write "Select ProductID from Sales" myself in the Source dialog Advanced options, Power Query still loads all the data first, then executes my Select statement?
@HavensConsulting
@HavensConsulting 2 ай бұрын
@@1yyymmmddd native queries (e.g. writing custom SQL Code in the statement box) will actually break any ability to query fold. So generally advised to not use that. It's advised to use the Power query actions to choose your columns, filter your rows, do your transformations. etc. More info about native query limitations below learn.microsoft.com/en-us/power-query/native-database-query
Best Practices for Integrated Notes & Annotations in Power BI
7:02
Havens Consulting
Рет қаралды 2,4 М.
Power Query - Faster & Easier Parameters
13:38
BCTI
Рет қаралды 36 М.
SPONGEBOB POWER-UPS IN BRAWL STARS!!!
08:35
Brawl Stars
Рет қаралды 23 МЛН
PEDRO PEDRO INSIDEOUT
00:10
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 19 МЛН
List.Accumulate Case Study in Power Query
13:23
Goodly
Рет қаралды 22 М.
Not All Query Folding is Created Equal...Performance Tuning PQ
24:32
Havens Consulting
Рет қаралды 832
Merge Data Like a Pro with Power Query (No VLOOKUP Required!)
28:31
Travis Cuzick
Рет қаралды 3,8 М.
What Your Boss Can TRACK About YOU with Microsoft Teams
6:23
Leila Gharani
Рет қаралды 7 МЛН
🚨 YOU'RE VISUALIZING YOUR DATA WRONG. And Here's Why...
17:11
Adam Finer - Learn BI Online
Рет қаралды 101 М.
Complex SQL Query Breakdown Step By Step
16:52
Database Star
Рет қаралды 15 М.
Configuring Fields with Perspectives for Shared Datasets in Power BI
8:11
3 Essential Excel skills for the data analyst
18:02
Access Analytic
Рет қаралды 1,5 МЛН
What does a Data Analyst actually do? (in 2024) Q&A
14:27
Tim Joo
Рет қаралды 50 М.
SPONGEBOB POWER-UPS IN BRAWL STARS!!!
08:35
Brawl Stars
Рет қаралды 23 МЛН