How To Add Excel Data Source In Microsoft PowerApps

Introduction

Before reading this article, please go through the article's link, given below.

In PowerApps, we can add a connection to an existing external data source. The external data source available in PowerApps connects to Excel, Facebook, Twitter, SharePoint, Salesforce, OneDrive, DropBox, etc.

We can display and manage the data in the source from your app, as given below.

  • Connect to OneDrive and manage the data in an Excel Workbook in your app.
  • Connect to Twilio and send an SMS message from your app.
  • Connect to SQL Azure and update a table from your app.
  • Send a tweet.

Here, we are going to see how we connect Excel files in the Microsoft PowerApps.

Developer Requirements

  1. Download PowerApps from the Windows Store.
  2. Microsoft Excel.

Follow the steps, given below to add Excel as an external data source in PowerApps.

Step 1. Create an Excel file.

Here, we first create an Excel file save it as StudentDetails, and enter the data.

Excel file

Step 2. We convert the data into a Table.

Now, we convert our data into Table format. Select the content and go to the Insert menu. Choose the Table.

Table format

Now, create a Table Window, which is displayed. Now, we need to tap the OK button.

Table Window

Now, our data is converted into the table and we need to change the name of the table to RankSheet. Save the Excel file.

Note. We link our PowerApp through this table name only.

 PowerApp

Step 3. Log in to the PowerApps.

After downloading PowerApps from the Windows store, we need a Microsoft-related organization’s Office 365 ID (MSDN, Microsoft, Skype, Office 365, etc.) to log in with it.

Microsoft-related organization’s

Step 4. Create a New App in PowerApps.

After login, we can see the Dashboard. Subsequently, we need to click on the New button.

 Dashboard

Step 5. Choose the blank App.

Blank App

Step 6. Designing the App.

Now, let's start to design the app. On the left side, we can see the individual screens to add our data. On the right side, we see the list of layouts.

On the top, we see the formula bar. See the Properties of the screen, which you will select.

On the right side, we see the Add data source to add the external data source.

Layouts

Step 7. Click on the Add Data Source.

Add Data Source

Step 8. Choose the Connection.

Here, we have many connections to add the external data source. Static is required to add the external Excel file.

 Connection

Step 9. Choose the Excel file.

Student database

Step 10. Adding the Table Name.

Here, they list out the tables present in your table. We have to choose the table name (RankSheet), which was given in the Excel file, and click the Connect button.

Connect button

Now, the table is added to PowerApps.

Ranksheet

Step 11. Choose the Layout.

Next, we have to add the layout to display the data from the table. Hence, choose the style, which you require.

Add the layout

Now, the style is applied.

Text gallery

Step 12. Configure Data Source to App.

Now, we need to configure the data source to our PowerApps. Choose RankSheet from TextualGallerySample.

Data Source to App

Choose the Columns in our TextBox.

Choose the Columns

Step 13. Change the App Setting.

Click on the File menu, where you need to see the app settings. Here, we change the app name, icon, and color of the app.

App Setting

Step 14. Save the App.

Now, we need to save it on Cloud or the local machine.

 Save the App

Step 15. Run the app.

Run the app

Output

Output

Conclusion

I hope you understand how to add an Excel data source in Microsoft PowerApps and how to run it.


Similar Articles