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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Tiolan
Frequent Visitor

Big file needs no update

There's 2Gb file "Sales2011-2016", containing data from last 5 years. It doesn't need to be updated.
And the second one "Sales2017". It must be updated every day.

 

If i append these two tabled in Query Editor, it starts to update both files, and it is VERY LONG PROCESS...

 

Is it possible to make it faster?

 

Big one:

let
Source = Json.Document(File.Contents("\\nas-01.ktc.local\Shara\PowerBi\mosntro\bi_sales_2011-2016.json")),
#"Развернутый элемент Column1" = Table.ExpandRecordColumn(Table.FromList(Source[Data], Splitter.SplitByNothing(), null, null, ExtraValues.Error), "Column1", {"ПериодСекунда", "Registrator", "Номенклатура", "Склад", "Manager", "Подразделение", "Партнер", "Выручка", "Количество", "Себестоимость"}, {"Момент часу", "Документ", "НоменклатураUUID", "СкладUUID", "Менеджер", "ПідрозділUUID", "ПартнерUUID", "Виручка", "Кількість", "Собівартість"}),
#"Добавленный запрос" = Table.Combine({#"Развернутый элемент Column1", #"Продажі 2017"})
in
#"Добавленный запрос"

Small one:

let
    Source = Json.Document(Web.Contents("http://ws-01.ktc.local:5000/ue/ver1/bi_sales/transfer", [Timeout=#duration(0, 0, 10, 0)])),
    #"Развернутый элемент Column1" = Table.ExpandRecordColumn(Table.FromList(Source[Data], Splitter.SplitByNothing(), null, null, ExtraValues.Error), "Column1", {"ПериодСекунда", "Registrator", "Номенклатура",     "Склад",     "Manager",  "Подразделение", "Партнер",     "Выручка", "Количество", "Себестоимость"},                      {"Момент часу",            "Документ",    "НоменклатураUUID", "СкладUUID", "Менеджер", "ПідрозділUUID", "ПартнерUUID", "Виручка", "Кількість",  "Собівартість"})
in
    #"Развернутый элемент Column1"
1 ACCEPTED SOLUTION
Tiolan
Frequent Visitor

I decide not to use Append, but having two divided tables instead.

And using measures for suming the values 🙂

View solution in original post

5 REPLIES 5
ImkeF
Community Champion
Community Champion

Unfortunately there is a bug in the functionality that would do this job. Pls upvote for bugfix here:

http://community.powerbi.com/t5/Issues/Bug-in-quot-Don-t-include-in-Report-Refresh-quot/idi-p/111353...

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Tiolan
Frequent Visitor

Yes 🙂

But what can we do?

 

What is the best practice to get big files updated?

What is the ways ro make updating faster?

 

ImkeF
Community Champion
Community Champion

Unfortunately I see no possibility to speed this up.

You can try different file formats (instead of JSON), but this is just a vague guess out of desparation 🙂 Haven't tested these out (maybe csv or txt - don't try xls, that's much slower !!)

 

Help finding supporters for bugfix. I tried to do my best on Twitter: https://twitter.com/TheBIccountant/status/818933857445617665

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Tiolan
Frequent Visitor

I decide not to use Append, but having two divided tables instead.

And using measures for suming the values 🙂

ImkeF
Community Champion
Community Champion

Then you're good to go: Just deselect "Include in Report Refresh" in the query-editor and load to datamodel 🙂 This will work & will not be refreshed (at least not on my machine).

 

(A UNION in DAX is the current workaround for the append)

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.