{"id":32108,"date":"2026-04-29T06:33:16","date_gmt":"2026-04-29T06:33:16","guid":{"rendered":"https:\/\/www.greytrix.com\/blogs\/sagex3\/?p=32108"},"modified":"2026-04-29T10:44:24","modified_gmt":"2026-04-29T10:44:24","slug":"how-to-filter-the-dashboard-on-the-home-page-based-on-the-logged-in-user-in-sage-x3","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2026\/04\/29\/how-to-filter-the-dashboard-on-the-home-page-based-on-the-logged-in-user-in-sage-x3\/","title":{"rendered":"How to Filter the Dashboard on the Home Page Based on the Logged-in User in Sage X3"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.greytrix.com\/sage-x3-erp\/development-services\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/www.greytrix.com\/sage-x3-erp\/development-services\/\" rel=\"noreferrer noopener\">Sage X3<\/a> is an enterprise resource planning (ERP) solution that helps organizations manage their business operations and data within a single integrated system. It includes various modules such as Sales, Purchasing, Inventory, Finance, and more, enabling efficient and centralized business management.<\/p>\n\n\n\n<p>In many business scenarios, there is a requirement to restrict or filter dashboard data based on the logged-in user. This ensures that users can only view relevant and authorized information, improving both data security and usability.<\/p>\n\n\n\n<p>To address this requirement, we utilized a global variable and created a formula to dynamically filter data based on the logged-in user.<\/p>\n\n\n\n<p><strong>Approach and Implementation:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>First, we created a database view containing the required data for the dashboard.<\/li>\n\n\n\n<li>This view was then imported into the Graphical Query Tool in Sage X3.<\/li>\n\n\n\n<li>The necessary fields were selected and added to the dashboard layout.<\/li>\n\n\n\n<li>We used the user field [ZDEMO]CREUSR_0, which stores the creator or user information.<\/li>\n<\/ol>\n\n\n\n<p><strong>New Stuff:<\/strong> <a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2026\/04\/29\/how-to-resolve-index-incorrect-fld80-error-in-stock-transaction-inquiry-screen-in-sage-x3\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2026\/04\/29\/how-to-resolve-index-incorrect-fld80-error-in-stock-transaction-inquiry-screen-in-sage-x3\/\" rel=\"noreferrer noopener\">How to Resolve \u201cIndex Incorrect FLD(80)\u201d Error in Stock Transaction Inquiry Screen in Sage X3<\/a><\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2026\/04\/Picture1-1024x509.png\" target=\"_blank\" rel=\"noreferrer \nnoopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; \nalign: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2026\/04\/Picture1-1024x509.png\" alt=\"Fig 1- Graphical query tool\"><\/a><\/center> \n<font size=\"2\"><center>Fig 1- Graphical query tool<\/center><\/font>\n\n\n\n<p>In the Selection Criteria section of the Graphical Query Tool, we applied a formula using the global variable to filter records based on the logged-in user.<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2026\/04\/Picture2.png\" target=\"_blank\" rel=\"noreferrer \nnoopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; \nalign: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2026\/04\/Picture2.png\" alt=\"Fig 2- Selection tab in graphical query tool\"><\/a><\/center> \n<font size=\"2\"><center>Fig 2- Selection tab in graphical query tool<\/center><\/font>\n\n\n\n<p>This configuration ensures that only the data relevant to the current user is displayed.<\/p>\n\n\n\n<p><strong>Output:<\/strong><\/p>\n\n\n\n<p>The final output can be seen on the home dashboard, where the data is filtered dynamically based on the logged-in user. This improves user experience, enhances data visibility, and maintains data security.<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2026\/04\/Picture3-1024x473.png\" target=\"_blank\" rel=\"noreferrer \nnoopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; \nalign: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2026\/04\/Picture3-1024x473.png\" alt=\"Fig 3- Final output\"><\/a><\/center> \n<font size=\"2\"><center><Fig 3- Final output<\/center><\/font>\n\n\n\n<p><strong>Benefits:<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-left\">Ensures user-specific data visibility<\/p>\n\n\n\n<p class=\"has-text-align-left\">Improves dashboard relevance and usability<\/p>\n\n\n\n<p class=\"has-text-align-left\">Enhances data security and access control<\/p>\n\n\n\n<p class=\"has-text-align-left\">Reduces data clutter for end users<\/p>\n\n\n\n<p><strong>Conclusion:<\/strong><\/p>\n\n\n\n<p>Filtering dashboard data based on the logged-in user is a practical and effective approach in Sage X3. By leveraging global variables and the Graphical Query Tool, organizations can create personalized dashboards that provide meaningful insights to users while maintaining proper data governance.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sage X3 is an enterprise resource planning (ERP) solution that helps organizations manage their business operations and data within a single integrated system. It includes various modules such as Sales, Purchasing, Inventory, Finance, and more, enabling efficient and centralized business management. In many business scenarios, there is a requirement to restrict or filter dashboard data\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2026\/04\/29\/how-to-filter-the-dashboard-on-the-home-page-based-on-the-logged-in-user-in-sage-x3\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,13],"tags":[496,732,3487,3066,1822,2330],"class_list":["post-32108","post","type-post","status-publish","format-standard","hentry","category-sage-erp-x3","category-integration","tag-dashboard","tag-error","tag-home-page","tag-query-tool","tag-sage-x3","tag-user"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/32108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/comments?post=32108"}],"version-history":[{"count":10,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/32108\/revisions"}],"predecessor-version":[{"id":32118,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/32108\/revisions\/32118"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=32108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=32108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=32108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}