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 Apps / Filtering inside for D...
Power Apps
Unanswered

Filtering inside for Dynamics , Canvas app

(0) ShareShare
ReportReport
Posted on by
I need to implement functionality to filter files from TableX when a specific form is opened in Dynamics.Specifically , when a user navigates to an account and opens the relevant tab , my canvas app should filter and display only the files associated with that account.
The files are sourced from a external data source and are stored in dataverse virtual table.
Is this functionality achievable? 
Categories:
I have the same question (0)
  • SaiRT14 Profile Picture
    1,990 Super User 2025 Season 1 on at
    Hi ,
     
     
    Ensure the virtual table (e.g., TableX) is properly set up and includes the necessary relationship fields (e.g., AccountId or equivalent). Confirm that the table has been successfully integrated into Dataverse.
     
    The virtual table should have a field (e.g., AccountId) that links each file to a specific account. This field will be used to filter files dynamically.
     
    Create a Canvas App to display and filter files. 
    Add the Dataverse Virtual Table (TableX) as a data source in the app. Add the Accounts table as a data source (if needed for validation or display).
    On the screen where files are displayed, add a Gallery Control. Set the Items property Filter(TableX, AccountId = SelectedAccount.Id) 
     
    To dynamically filter files for the account:
    Use a Parameter to pass the account ID when the app is opened. Example parameter: AccountId.
    In the app, retrieve the parameter value using Param("AccountId")
    Use this parameter to filter files in the Items property Filter(TableX, AccountId = Param("AccountId"))
    Publish the Canvas App and note its App ID.
     
    Embed in Dynamics 365 Form
    Navigate to the Account form in the Power Apps Maker.
    Select the tab where the app should appear.
    Add a Custom Control for the Canvas App: Set the control type to Canvas App. Configure the App ID to point to the Canvas App. Pass the AccountId as a parameter to the app: Parameter name: AccountId. Parameter value: Primary Key of the Account table (e.g., accountid).
     
    pls try. thanks
     

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard