i'm trying filter power bi tile on powerapps , but it doesn't work. when i triger fillter the Power BI Tile just refresh and stil did not filtere.
i already follow the turorial from any source but still not luck.
This is my url with variable filter
Can any body help in this ?
Or is there any problem with this fiture right now ?
Solved! Go to Solution.
i have solution for my case and thank's @jovan for save my day and now i can sleep well 😀
So my problem cause is Pin in PowerBI , i select "Pin A live Page" not a "Pin visual", because i think it's same pin to dashboard and the PowerBI Tile use the dasboard of Power BI.
The button Pin Visual does not appear when you are not in Edit report mode.
"Pin a Live page" can't filter on PowerBi Tile, but "Pin Visual" can, even though both of these methods can appear on PowerBI Tile.
Big idea: If you would like to dynamically filter a Power BI tile in your Power Apps, you can structure its TileURL property like this example:
"https://app.powerbi.com/embed?dashboardId=a95eaa1b-6a11-40ba-ba9d-78e737fa8a51&tileId=821ead84-c2bb-4b4a-9592-566f194c5b93&config=eyJjbHVzdGVyVXJsIjoiaHR0cHM6Ly9XQUJJLVdFU1QtVVMtcmVkaXJlY3QuYW5hbHlzaXMud2luZG93cy5uZXQifQ%3d%3d&$filter=Tweets/Location eq 'Brisbane'"
I have a Table called Tweets. It has a map tile showing the Location field:
Above the Power BI tile, I have a text input field, TextInput1. When it's blank, I want to remove all filter parameters. But when I've typed something in, I want to to filter the map tile accordingly.
To achieve the same structure as the example TileURL, we'll use a condition and some concatenation:
"https://app.powerbi.com/embed?dashboardId=a95eaa1b-6a11-40ba-ba9d-78e737fa8a51&tileId=821ead84-c2bb-4b4a-9592-566f194c5b93&config=eyJjbHVzdGVyVXJsIjoiaHR0cHM6Ly9XQUJJLVdFU1QtVVMtcmVkaXJlY3QuYW5hbHlzaXMud2luZG93cy5uZXQifQ%3d%3d" & If( !IsBlank(TextInput1.Text), "&$filter=Tweets/Location eq '" & TextInput1.Text & "'" )
This means, "Show a TileURL that is made up of the URL to the dashboard tile. And if the input field is not blank, include a filter parameter:
Note that I include single quotes around whatever text results from TextInput1 as that is required to distinguish its contents as a string.
Note that there are some & that are not enclosed within quotation marks. Those concatenate the strings that are between them.
The tile will reload upon typing anything and will not need any refresh actions.
Let me know if you are able to structure your TileURL from this example.
Hi @Mr-Dang-MSFT ,
Thank's for your response 😊.
in your url , i found the url has %3d%3d before filter function, is this a part of conffiguration or you manual add it ?
i still can't filter the tile, i already harcode the tile url , with filter the DisplayName is 'agnes' , but in powerapps designer stil show all data, and also i tried with add %3d%3d before filter function and still not work.
"https://app.powerbi.com/embed?dashboardId=3c6f94fb-8fb1-48b9-b410-a4e93bfee8ff&tileId=51100347-e3e3-4d9f-8301-f8c8849c1a08&config=eyJjbHVzdGVyVXJsIjoiaHR0cHM6Ly9XQUJJLVNPVVRILUVBU1QtQVNJQS1yZWRpcmVjdC5hbmFseXNpcy53aW5kb3dzLm5ldCJ9&$filter=AttendanceSumView/DisplayName eq 'agnes'"
The picture below is my table and column to filter
when i run the apps data still show all of DisplayName
is there any missed on my function ?
Hi @datamaster ,
Thank's for response.
For value of display name 'agnes' is not have space. and i already check again and test on report section in powerBI.
have you any idea for this ?
is there any solution on this ?
i found same problem in another thread , https://powerusers.microsoft.com/t5/forums/forumtopicprintpage/board-id/PowerAppsForum1/message-id/1...
is there still issue ?
I tried embedding Power BI in PowerApps to see if something has regressed, but the filtering still works fine for me.
So I have a couple of diagnostic questions:
Check it out!
Check it out!
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
The largest Power BI, Power Platform, and Data conference in New Zealand