• 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
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Refresh data using excel add-in is taking long time |General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Refresh data using excel add-in is taking long time |General Excel Questions & Answers|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 ForumGeneral Excel Questions & Answe…Refresh data using excel add-in is …
sp_PrintTopic sp_TopicIcon
Refresh data using excel add-in is taking long time
Avatar
sai kiran

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
October 20, 2020
sp_UserOfflineSmall Offline
1
October 20, 2020 - 3:03 pm
sp_Permalink sp_Print

Hi,

 

I’m working as test lead and we use MFALM/HPQC as test management tool to track the project testing activities.

MFALM has excel add-in called Business excel view and with the help of this excel add-in we can connect to MFALM database to refresh and download the data of test artifacts like test step status, defects status etc.

For each entity we have one business object is available to download the data and likewise we have ‘Test step data’, ‘Test script’ and ‘defects’.

So, when I refresh business objects for all 3 entities at once and data refresh completes within  30 to 60 seconds time.

However, when I add summary sheet, it consists of Tables (Data grid) and now refresh data is taking around 10 mins to complete.

  • Summary sheet will consists of Tables (Data grid), they have around 10 columns, first one is team names, second is total steps, third onwards it starts status of the test steps (i.e. Pass, failed, In progress etc.), in the last total pending, % pass and % pending  

I’m using excel formula =Countifs to get the counts of each status and the formulas are referring to source data sheet (where we refresh the data).

 

Can you pls suggest why data refresh is fast without adding summary sheet and taking time when I have added summary sheet (Tables -Data grid) and

 

Your inputs will be much appreciated.

Note: I’m using MS 365 pro plus.

 

Thanks,

Sai.

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4446
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
2
October 21, 2020 - 3:13 pm
sp_Permalink sp_Print

Hi Sai,

Welcome to our forum!

I wonder if the formulas in the summary sheet are recalculating repeatedly during refresh. Why don't you use a PivotTable for the counts? This would be far more efficient than lots of COUNTIF formulas.

Mynda

Avatar
sai kiran

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
October 20, 2020
sp_UserOfflineSmall Offline
3
October 22, 2020 - 11:19 pm
sp_Permalink sp_Print sp_EditHistory

Thanks you Mynda for your replay...

 

I thought so and have created macro as given below to copy the data to another sheet called "Extended Data".

The summary sheet will refer the "Extended Data" sheet and once the data refresh is completed, I  will run macro to copy the date from source to "Extended Data" sheet.

However, I still see refresh is taking the same i have mentioned earlier. Does the summary sheet will still re-calculate during the refresh?

I can use the Pivot tables but the project team's requirement is to see all the status columns. In Pivot table if the data for any status is zero they those columns will not appear in the pivot table.

-------------------------------------------------------------------------------------------

Public Sub CopyRows()
Sheets("Step Level Data").Select

Range("A3:AI30000").Select
Selection.Copy

Sheets("Extended Data").Select
Cells(1, 1).Select
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
ThisWorkbook.Save

------------------------------------------------------------------------------------

Is there way we can still show all the status columns in the pivot table even count is zero. i.e.Deferred 

 

Much appreciated your help !!

 

Thanks,

Sai.

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4446
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
4
October 23, 2020 - 7:56 am
sp_Permalink sp_Print

Hi Sai,

I would strongly advise against copying the data again. This will only result in a bigger, slower file.

In the PivotTable you can set the field to 'show items with no data' so that even items with zero values will be included. You can do this in the field settings.

Mynda

Avatar
sai kiran

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
October 20, 2020
sp_UserOfflineSmall Offline
5
October 23, 2020 - 9:53 pm
sp_Permalink sp_Print

Thanks Mynda and i have implemented pivot table.

 

Thanks,

Sai

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: MohamedGadAllah, Jeff Krueger, Kylara Papenfuss, Janset Beyaz, Shawn Barwick, Nada Perovic
Guest(s) 7
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
John Chisholm
vexokeb sdfg
John Jack
Malcolm Toy
Ray-Yu Yang
George Shihadeh
Naomi Rumble
Uwe von Gostomski
Jonathan Jones
drsven
Forum Stats:
Groups: 3
Forums: 24
Topics: 6212
Posts: 27236

 

Member Stats:
Guest Posters: 49
Members: 31889
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.