Hi everyone,
My Power BI data comes from an excel sheet.
I want to build a Power App that uses this Power BI and publishes it out to a Sharepoint list.
Is this possible?
Excel->PowerBi->PowerApps->Sharepoint List
Thank you
Solved! Go to Solution.
Hi @milky_bar_may ,
Do you want to patch Power BI data from your Power BI report to your SP list?
Based on the needs that you mentioned, I think the PowerApps Custom Visual in Power BI report could ahieve your needs. On your side, you could consider embed an canvas app into your Power BI report using PowerApps Custom Visual.
When you select record from other visual (e.g. Table) in your Power BI report, the corresponding record data would be transfered into the embedded canvas app through PowerBIIntegration control.
Within your embedded app, you could consider add a Gallery control, set the Items property to following:
PowerBIIntegration.Data
then the selected records from your Power BI report would be displayed in this Gallery. Within this Gallery, you could add some Label controls, set the Text property to following:
ThisItem.Column1
ThisItem.Column2
ThisItem.Column3
...
to display the column value of these selected records from your Power BI report.
After that, if you want to patch the displayed records value in your Gallery back to your SP List, I think the Patch function could achieve your needs. You could add a "Submit" button (in same screen as above Gallery) within your embedded canvas app, set the OnSelect property to following:
ForAll(
Gallery1.AllItems,
Patch(
'YourSPList',
Defaults('YourSPList'),
{
Column1: Label1.Text,
Column2: Label2.Text,
Column3: Label3.Text,
...
}
)
)
Note: The Label1, Label2, Label3, ... represents Label controls in above Gallery.
More details about embedding a canvas app into a Power BI report, please check the following video:
https://www.youtube.com/watch?v=b9gBXUdd55M
https://www.youtube.com/watch?v=xhFQxS6VRws
Best regards,
Seems like an odd way of handling the data.You're looking to create a duplicate set of the same data, but what happens if someone edits the data in SharePoint?
Also, I would think you might be better off using a Flow to move the data, if you really wanted to have two sets of the same data. Or connect SharePoint and Excel.
Many thanks for your response.
I should have clarified my situation further.
My excel data dump goes straight into Power BI. I use calculated columns etc to produce the output that I need. The output is a table that the user needs to interact with.
For example 1 table highlights all exceptions. The user needs to be able to make comments on the progress of these exceptions.
So my idea was create it in Power BI, then build an App to allow the user to interact with the exceptions. Once the user has updated the comment on the exceptions this would be published to a sharepoint list.
Finally I connect to that sharepoint list and bring it into Powerbi.
So I don't think I am duplicating data per se.
Is this possible?
I think I have a slightly better idea of what you're asking for. You're probably going to want to bring the information into a collection, display it in a gallery, and then have a save button that Patches to a SharePoint list.
The gallery would just have all the fields of the table, plus a comments field.
The SharePoint list would have all the same fields of that gallery.
Below is a couple links that can get you started.
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-clear-collect-clearc...
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-patch
This may not be useful if you don't plan on creating/updating the same items.
Thank you for your suggestion!
I took a quick read (before further study tonight).
Is this the basic gist of it?
Create the app from my Power Bi data fields.
From this create a collection, display it in a gallery and then patch it through to sharepoint?
Thank you again
Hi @milky_bar_may ,
Do you want to patch Power BI data from your Power BI report to your SP list?
Based on the needs that you mentioned, I think the PowerApps Custom Visual in Power BI report could ahieve your needs. On your side, you could consider embed an canvas app into your Power BI report using PowerApps Custom Visual.
When you select record from other visual (e.g. Table) in your Power BI report, the corresponding record data would be transfered into the embedded canvas app through PowerBIIntegration control.
Within your embedded app, you could consider add a Gallery control, set the Items property to following:
PowerBIIntegration.Data
then the selected records from your Power BI report would be displayed in this Gallery. Within this Gallery, you could add some Label controls, set the Text property to following:
ThisItem.Column1
ThisItem.Column2
ThisItem.Column3
...
to display the column value of these selected records from your Power BI report.
After that, if you want to patch the displayed records value in your Gallery back to your SP List, I think the Patch function could achieve your needs. You could add a "Submit" button (in same screen as above Gallery) within your embedded canvas app, set the OnSelect property to following:
ForAll(
Gallery1.AllItems,
Patch(
'YourSPList',
Defaults('YourSPList'),
{
Column1: Label1.Text,
Column2: Label2.Text,
Column3: Label3.Text,
...
}
)
)
Note: The Label1, Label2, Label3, ... represents Label controls in above Gallery.
More details about embedding a canvas app into a Power BI report, please check the following video:
https://www.youtube.com/watch?v=b9gBXUdd55M
https://www.youtube.com/watch?v=xhFQxS6VRws
Best regards,
Thank you so much!
If you could recommend any extra learning material I would greatly appreciate it!
Thank you
User | Count |
---|---|
125 | |
87 | |
86 | |
75 | |
69 |
User | Count |
---|---|
215 | |
180 | |
139 | |
97 | |
83 |