query folding
3 TopicsRefreshing queries is so slow (15 to 20 min)
Hell all, I'm using three csv folders as data sources for my database created in EXCEL with power query. When i refresh my main query, it takes so much time (from 15 to 20 minutes). I guess it is related to the merge function that i used to relate two tables. you'll find below the M code used to merge the two table. Any tips to improve the speed of this query? thank you by advance. let Source = Table.NestedJoin(#"HISTORIQUE MB52", {"CLE", "Date"}, #"UPS STOCK", {"material_Sloc", "Date"}, "UPS STOCK", JoinKind.LeftOuter), #"UPS STOCK développé" = Table.ExpandTableColumn(Source, "UPS STOCK", {"Account", "FSL", "Ref 5 ", "Designator", "UPS QTY"}, {"Account", "FSL", "Ref 5 ", "Designator", "UPS QTY"}), FilterRows = Table.SelectRows(#"UPS STOCK développé", each [UNR] <> 0 or [Blocked] <> 0 or [Returns] <> 0 or [UPS QTY] <> null) in FilterRows634Views0likes2CommentsCalculation groups and Query folding
I have a huge data in Snowflake (900+ million rows) what is used via Direct Query. There are about dozen measures (turnover, net sales etc) and everything works ok when I use pure measures, but when I use Calculation Group performance drops dramatically. Calculation group is very simple, only about 10 items, and those are like PY, YTD etc. My matrix is also quite simple: Calculation items on columuns and measures in value section. In my investigations, I realize that when calculation group is used the query folding drops down and Power BI sent own query for every cell. Do I do something wrong, or does query folding supports calculation groups at all?645Views0likes0Comments