Append excel data and In house database data that gets refresh evey 24 hour

0 votes
I am trying to build a trended visualization and for that i am using database that gets refresh in 24 hour. Is there any way to keep the old data in power BI and append with the fresh data
Mar 20, 2019 in Power BI by rahul_verma05@live.com
691 views

1 answer to this question.

0 votes

Hi,

You can try this way,

A  -  Actual Table,  N  -  New Table,  AN  -  Actual + New Table

Step 1:  Connect to the Mysql database and retrieve the tables.

Step 2:  In the Power Query Editor page, go to View tab and click on query settings. In the space provided for SQL Statements, write CREATE TABLE IF NOT EXISTS NEW_TABLE_NAME ( [same table definition] ) and then insert into new table (select * from actual table) . 

Step 3,4:  When the data is refreshed, the actual table is updated. The sql statements are run again for each refresh, so it would not create a new table and the old data still remains in the new table.

Step 5,6: Then append the new table to actual table to get your updated + old data.

Hope this helps you.

answered Mar 20, 2019 by Sindhu

Related Questions In Power BI

0 votes
0 answers
0 votes
0 answers
0 votes
1 answer

How do you schedule Data Refresh in Power BI?

Hi, Following could be the reasons why this ...READ MORE

answered May 21, 2019 in Power BI by Avantika
• 1,520 points
924 views
0 votes
0 answers

After connecting SharePoint List with Power BI, and editing data in query, all the data I want are in links

I've try so many ways to decode ...READ MORE

Jun 18, 2020 in Power BI by Dora
• 120 points
1,170 views
0 votes
1 answer

Displaying Table Schema using Power BI with Azure IoT Hub

Answering your first question, Event Hubs are ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
1,311 views
+1 vote
1 answer

Unable to install connector for Power Bi and PostgreSQL

I think the problem is not at ...READ MORE

answered Aug 22, 2018 in Power BI by nirvana
• 3,130 points
2,722 views
+2 votes
2 answers

Migrate power bi collection to power bi embedded

I agree with Kalgi, this method is ...READ MORE

answered Oct 11, 2018 in Power BI by Hannah
• 18,520 points
1,492 views
+1 vote
1 answer

Connect power bi desktop to dataset and create custom reports

Yes using Power BI REST API to ...READ MORE

answered Sep 18, 2018 in Power BI by Kalgi
• 52,350 points
1,646 views
0 votes
1 answer

Looping in Power Query

In Power Query, you often find a ...READ MORE

answered Jan 30, 2019 in Power BI by Upasana
• 8,620 points
5,468 views
0 votes
1 answer

Replace “yes” found in one list with the actual string from another list

Objective : The idea is to use List.Transform twice, ...READ MORE

answered Feb 19, 2019 in Power BI by Upasana
• 8,620 points
796 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP