web
You’re offline. This is a read only version of the page.
close
Skip to main content
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 434

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
    236,822 Most Valuable Professional on at
    RE: Using views with query vs table

    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,825 Moderator on at
    RE: Using views with query vs table

    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
    236,822 Most Valuable Professional on at
    RE: Using views with query vs table

    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,825 Moderator on at
    RE: Using views with query vs table

    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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
André Arnaud de Calavon Profile Picture

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

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 743

#3
Sumit Singh Profile Picture

Sumit Singh 551

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans