
Hi folks!
I have been working with the PowerBIItegration.
1.
The first, and the most important issue that I have is...
When I create an App from PowerBI (Clicking the PowerApps icon -> Select the file to filter/interact with Powerapps -> Create a New App), works. I can see the "parameters" in PowerApps and I can use to filter the data in PowerApps.
The issue here is the size of the screen. I just can select Orientation (Lanscape or Portrait). But I have not avaible the Size to select a Custom size.
2.
I tried create an App from scratch and define the size.
After that I tried to connect PowerBI with this App. I can see the PowerBIIntegration "component" in the App but I cannot see the parameters to use in the App. So, is not working or I cannot connect them.
Any idea?
Hi @GABRIELV221,
1). Actually, custom Size is only available for apps with Tablet layout.
2). The answer you are looking for is actually described in this blog post:
Announcing availability of PowerApps custom visual for Power BI (preview) | Microsoft Power Apps
Here some tips for you:
a. Launch the PowerApps app in edit mode from inside your Power BI report. Select the ... on the PowerApps custom visual and click Edit. This will setup up the connection between your Power BI report and that app.
b. Now, whatever fields you selected in Power BI will be available inside of PowerApps as a collection wiht name PowerBIIntegration.Data
c. Now you can write formulas in the Items property to show only for data coming from Power BI. If you wanted to show only Clients that are selected in Power BI report, you will write something like:
SortByColumns(Filter(Search('[dbo].[Messages]'; TextSearchBox1.Text; "Client"), Client in PowerBIIntegration.Data.Client); "Client"; If(SortDescending1; Descending; Ascending))​