Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I'm loading sales data from a SQL server.
My sales data goes over many years but there is no need to load all the data every time with each refresh.
I thought I would duplicate my original sales table, filtering one only for the years >2017 and then renaming this one Sales_historic and disable "include in data refresh".
Final step then to append the two tables again, leaving me with the same table as I orginially had but only a small part of it reloads on refresh.
Would that work? I'm asking because I tried and it looks like it's still loading as many rows as before...
Solved! Go to Solution.
No, that won't work that way. What you are doing just prevents having duplicate rows in two different tables (if you never load the first query that is). Essentially, the Append statement is still going to execute the query you specify for your historic data. What I would suggest is that you have your two queries. Load the first and second queries. Then disable Load for your first query (historic). Then, use the UNION function in DAX to create a New Table that UNION's your two tables together. In this way, you will only get updates when you refresh data but you will have a single table that appends both together.
Hi @Mr_Glister,
Please vote up this idea. Unfortunately, "include in data refresh" only works in the Desktop. I have tested it. I also tried to switch the refreshing using R code. But failed.
Best Regards,
Dale
No, that won't work that way. What you are doing just prevents having duplicate rows in two different tables (if you never load the first query that is). Essentially, the Append statement is still going to execute the query you specify for your historic data. What I would suggest is that you have your two queries. Load the first and second queries. Then disable Load for your first query (historic). Then, use the UNION function in DAX to create a New Table that UNION's your two tables together. In this way, you will only get updates when you refresh data but you will have a single table that appends both together.
I am trying to apply your solution, but there is a step unclear to me; if I disable the load of the first query, the new table generated with DAX UNION will not recognize the first table and fail. What am I doing wrong?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
117 | |
105 | |
69 | |
67 | |
43 |
User | Count |
---|---|
148 | |
103 | |
103 | |
88 | |
66 |