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 in Power BI by rahul_verma05@live.com
18 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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 by Sindhu

Related Questions In Power BI

0 votes
1 answer

How do you schedule Data Refresh in Power BI?

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

answered 1 day ago in Power BI by Avantika
• 1,140 points
15 views
0 votes
1 answer

Refresh power bi report every hour

You’ll have a Power BI service option ...READ MORE

answered Sep 24, 2018 in Power BI by Hannah
• 14,080 points
147 views
0 votes
1 answer

Is there a way to convert JSON data to readable table in power bi

Follow these steps step 1 - Click on ...READ MORE

answered Sep 24, 2018 in Power BI by Hannah
• 14,080 points
1,102 views
0 votes
1 answer

Can I create a Power BI report in Office 365 without my locally installed Office Excel?

Yess!! You can achieve this by using ...READ MORE

answered Sep 26, 2018 in Power BI by Kalgi
• 35,750 points
31 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,040 points
48 views
0 votes
1 answer

Unable to install connector for Power Bi and PostgreSQL

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

answered Aug 21, 2018 in Power BI by nirvana
• 3,040 points
346 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
• 14,080 points
57 views
0 votes
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
• 35,750 points
49 views
0 votes
1 answer

Looping in Power Query

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

answered Jan 30 in Power BI by Upasana
• 7,560 points
64 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 in Power BI by Upasana
• 7,560 points
32 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.