• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Refreshing User-Entered Data from Current Workbook to be used in Data Model|Power Query|Excel Forum|My Online Training Hub

You are here: Home / Refreshing User-Entered Data from Current Workbook to be used in Data Model|Power Query|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumPower QueryRefreshing User-Entered Data from C…
sp_PrintTopic sp_TopicIcon
Refreshing User-Entered Data from Current Workbook to be used in Data Model
Avatar
Louis Burvill

New Member
Members
Level 0
Forum Posts: 2
Member Since:
November 15, 2021
sp_UserOfflineSmall Offline
1
February 12, 2022 - 1:24 am
sp_Permalink sp_Print

Hello,

I have created a file that pulls production information from multiple external sources (and the current workbook), this data is manipulated in PQ with all unnecessary information cut out, then several tables are loaded into the Data Model. In the Data Model, I have several measures that calculate multiple things such as: opening stocks, closing stocks, planned production and total deliveries required to match the planned production. 

I was then tasked with the idea of having a calendar (which gets loaded into PQ and then PP) where users could mark certain days as 'Blocked out', effectively saying that we could not receive deliveries on these days. What my model does is sum the planned production on these blocked out days and add it to the current planned production for the day immediately before, this would then calculate a new, increased delivery required on the days that aren't blocked out.

There is also another table in the workbook that users can edit that gets loaded into PQ/PP upon refresh that allows the user to manage what product is stored in 1 of 20 or so different locations at any given date (this is so, if we require 100 units of Product A on a day but the currently max holding capacity for Product A is 50, the user can allocate an additional location with a capacity of 50 units to allow for a new max holding capacity of 100 for Product A.

Currently, when the user has made any changes that they wish to see reflected in the dashboard they press a macro that simply refreshes the dashboard table, however, this seems to take several minutes and I can't figure out why.

So my question is: Is it bad practice to have a data model that feeds off user-entered information from the current workbook? And if this shouldn't be a problem, what is the best way to approach this?

Thank you.

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4513
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
2
February 14, 2022 - 9:56 am
sp_Permalink sp_Print

Hi Louis,

Whether the user entered information is in the current workbook or an external source wouldn't make any difference to the refresh process. I presume you've tested the time it takes to manually refresh vs using the macro to refresh.

There are some ideas on how to speed up slow Power Query refreshes here.

Mynda

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Cassie Bernier
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 873
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 222
Jessica Stewart: 215
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Abisola Ogundele
MARTYN STERRY
Rahim Lakhani
Ngoc Qui Nguyen
Clement Mansfield
Rose .
Bindu Menon
Baruch Zemer
Purple RainbowBenefactor
MOTH Junkie
Forum Stats:
Groups: 3
Forums: 24
Topics: 6350
Posts: 27773

 

Member Stats:
Guest Posters: 49
Members: 32317
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.