web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Dynamic Filtering for ...
Power Pages
Unanswered

Dynamic Filtering for Power BI (embedded in Portal) - custom entity

(0) ShareShare
ReportReport
Posted on by

I am trying to dynamically filter a Power BI report I have embedded in a Powerapps Portal. I have tried unsuccessfully to use the info supplied in the Dataverse Entity Tags article dated 10/12/2022.

 

I created a custom entity in Dataverse called Payment Applications. I imported the Payment Application table into a PowerBi Report (I refresh the data daily). I created a list and forms in Portal Management for the Payment Application table.

 

The report is based on a dataset imported from Dynamics 365 tables (via the legacy D365 data connector). The report contains multiple tables. The table at issue here is named Invoices. 

 

The report is embedded in a page that displays a record from one of the imported tables. For example, the Dataverse table is named Invoices. The portal page in question contains a form to edit a record from the Invoices table. 

 

I tried a filter like this (I know I'm missing the escape characters in this case): 

{% capture pbi_path %}https://app.powerbi.com/groups/.../reports/.../ReportSection...?filter='Payment Applications'/PrimeContractTextID eq '{{nor_primecontract_name}}'{% endcapture %}

{% powerbi authentication_type:"powerbiembedded" path:pbi_path %}

 I think I may need to capture the record id from the URL of the page displaying the edit form for the record, but I don't know how to use that id. The link to the record looks like https://acme.com/PaymentApplications/..../?id=... 002248047c6b

Categories:
I have the same question (0)
  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @FourMoons 

     

    You can try RLS in Power BI through the Power BI desktop. Get the record GUID field name and pass it on to the power bi filter. Then publish your report. 

     


    Hope it helps. 
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 52

#2
Valantis Profile Picture

Valantis 46

#3
Vish WR Profile Picture

Vish WR 29

Last 30 days Overall leaderboard