0
Hello. I am starting to study Microsoft Power BI now, and would like help on a question. First I created an excel as a data source:
Then I created a data set and a report:
All right so far. I’m using the sample solution that Microsoft provides on https://app.powerbi.com/embedsetup. Now I’d like to filter back-end that report.
Example: When it is called in my application, I pass it a back-end ID, and it already Filter the report showing it only with the pertinent information that ID.
In the case of the above image, it would display ONLY the information of Id 5. Without showing the others that appear there without being selected.
Can anyone help me? Thank you.
ADDING INFORMATION: The link that Powerbi Embed generates in the back end is different, and the filter that we tested in the answer below does not work. Any hint of how to solve?
No EmbedService temos o código:
// Generate Embed Configuration.
m_embedConfig.EmbedToken = tokenResponse;
m_embedConfig.EmbedUrl = report.EmbedUrl;
I was able to solve this problem by changing the URL creation in Embedservice, adding:
?rs:embed=true&filter=table/column eq 'filtervalue'
What would be the Table?
– Gustavo Souza da Rosa
The Table is the name of the structure where Voce placed its columns, in its example ('id, 'name' and 'value')
– Clayton Tosatti
In case it would be: ? filter=Name/Field eq 'One'. But it didn’t work here.
– Gustavo Souza da Rosa
is that Voce is putting the column name instead of the table name
– Clayton Tosatti
Should be ? filter=(THE NAME OF YOUR TABLE)/Name eq 'Um'
– Clayton Tosatti
Yes, I don’t know what my table name is. Where is this info?
– Gustavo Souza da Rosa
I added an addendum in the reply to Voce find
– Clayton Tosatti
I got it, thank you very much :)
– Gustavo Souza da Rosa
Good! If possible mark the answer as resolved, so that others can also be helped. And welcome the community :)
– Clayton Tosatti
Hi Clayton, could you help me with another question about Powerbi? https://answall.com/questions/439386/powerbi-utilizar-conex%C3%a3o-databasecontext-e-real-time
– Gustavo Souza da Rosa