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 :
Finance | Project Operations, Human Resources, ...
Answered

Using views with query vs table

(0) ShareShare
ReportReport
Posted on by 560

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
    240,312 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,843 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
    240,312 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,843 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288 Super User 2026 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 276 Most Valuable Professional

#3
Anton Venter Profile Picture

Anton Venter 225 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans