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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Using views with query vs table

(0) ShareShare
ReportReport
Posted on by 462

Hi,

Is there a difference in performace if I create a view with tables in it OR if I create a view with query?

So it's either view with table1 and table2

OR view with query (where query contains table1 and table2)

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,697 Most Valuable Professional on at

    No, it doesn't matter, as long as you build the same query. If so, the physically view in database will be identifical and therefore performance will be identical too.

  • Suggested answer
    GirishS Profile Picture
    27,827 Moderator on at

    Hi DELDYN,

    As martin mentioned there is no difference in performance.

    But if you create a view from the query - You can select the required(Dynamic) fields to be used and avoid unnecessary fields using Dynamic fields property at datasource level.

    If you directly add a table to the view - All the fields will be added to the datasource and you cannot set the Dynamic fields property for the datasource as it will be defaulted to Yes and you cannot change that..

    Thanks,

    Girish S.

  • Martin Dráb Profile Picture
    237,697 Most Valuable Professional on at

    I don't think it plays a role - which fields will be selected is defined by view fields, not data source fields.

  • GirishS Profile Picture
    27,827 Moderator on at

    Yes, I agree that its not related to performance and will not play any role - I am only saying the difference if you add the table directly to the view or adding query to the view.

    Thanks,

    Girish S.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 683 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 563 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 398 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans