• 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

Vertical date file transform to horizontal to do calculations|Power Query|Excel Forum|My Online Training Hub

You are here: Home / Vertical date file transform to horizontal to do calculations|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 QueryVertical date file transform to hor…
sp_PrintTopic sp_TopicIcon
Vertical date file transform to horizontal to do calculations
Avatar
Dick van der Winden
Member
Members

Excel Tables

Power BI

Pivot Tables Quick Start
Level 0
Forum Posts: 13
Member Since:
February 13, 2019
sp_UserOfflineSmall Offline
1
February 13, 2019 - 9:21 pm
sp_Permalink sp_Print

Hello 

I am a new member and did the online power bi I course.

However now I am facing the following problem 

my data is vertical with the description and dated. ( excuse it is in Dutch)

By sorting I have the data in correct order in the power pivot also the dates are appearing in date power pivot. (function new measure)

Now I want the calculate the time difference between the days as Excel networkingdays.intl

I attached the excel file so if somebody has a suggestion please let me know Smile

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

Hi Dick,

No file attached. You have to press the yellow 'start upload' button to complete attaching the file.

Mynda

Avatar
Dick van der Winden
Member
Members

Excel Tables

Power BI

Pivot Tables Quick Start
Level 0
Forum Posts: 13
Member Since:
February 13, 2019
sp_UserOfflineSmall Offline
3
February 14, 2019 - 6:37 pm
sp_Permalink sp_Print sp_EditHistory

Mynda,

 

I do apolgize attached please find the file

Avatar
Dick van der Winden
Member
Members

Excel Tables

Power BI

Pivot Tables Quick Start
Level 0
Forum Posts: 13
Member Since:
February 13, 2019
sp_UserOfflineSmall Offline
4
March 4, 2019 - 8:30 pm
sp_Permalink sp_Print

Hello I have solved my problem by using the measure function =MAX([Begindatumtaak]) made a pivot tabel and the copy/paste it into the dashboard file.

Works fine now I only want the get it all automaticlly done. 

 

Thank you  

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4446
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
5
March 4, 2019 - 10:16 pm
sp_Permalink sp_Print

Sorry I didn't see that you'd uploaded the file, but I'm glad you found a solution that gets you part of the way.

I had a look at your file. It's not clear what the problem is and what you're hoping to see as the result. If you now have a measure that works in your PivotTable, why can't you embed the PivotTable in your dashboard? Perhaps you can share your latest file and show us what you're preferred result is? We can try to help you from there.

Mynda

Avatar
Dick van der Winden
Member
Members

Excel Tables

Power BI

Pivot Tables Quick Start
Level 0
Forum Posts: 13
Member Since:
February 13, 2019
sp_UserOfflineSmall Offline
6
March 5, 2019 - 7:14 pm
sp_Permalink sp_Print

Hallo Myanda

 

Appreciated that you took time too look to my file.

I will attach two file one as power pivot and one with the dashboard and the calculation.

This file will used by a company to see the progress of an administration.

With this file we aim to reduce the throughput days to less than 30 working days

Master book file

In this file I transfer a file that comes from the computer system into a pivot table with dates.

“Ruwedata” is the computer file total file can be over 10000 lines at the end of the year.

“Masterdata” is the pivot table that I copy and paste. I use the =MAX([begindatumtaak]) formula to get the date in the pivot table otherwise I only get the count

Takenomschriving dick rev6

Is the file that is publish to all employees and contains the dashboard. Including the “masterdata”

Form that sheet I make the “basis data” and the “doorlooptijd” sheet.

Of course, also the dashboard. No fancy yet because all is still in progress.

 

If you have any suggestions to improve and to make it better it would be very helpful.

Avatar
Catalin Bombea
Iasi, Romania
Admin
Level 10
Forum Posts: 1807
Member Since:
November 8, 2013
sp_UserOfflineSmall Offline
7
March 8, 2019 - 12:55 am
sp_Permalink sp_Print

Hi Dick,

You should connect to your master to extract data and reformat it, using power query.

Attached is an example of converting your horizontal format to a tabular format. In Source sheet, you can type the path to your master data file, then in Reformatted Data sheet you can right click the table and click Refresh to extract and reformat data from that master data file.

You can even add calculated columns to this query, to get your desired results. Using measures applied to this format, you can get to the same results as with formulas, but in a more structured and reliable way.

Regards,

Catalin

Avatar
Philip Treacy
Admin
Level 10
Forum Posts: 1514
Member Since:
October 5, 2010
sp_UserOfflineSmall Offline
8
March 8, 2019 - 8:21 am
sp_Permalink sp_Print

Dick's 2nd file

Avatar
Dick van der Winden
Member
Members

Excel Tables

Power BI

Pivot Tables Quick Start
Level 0
Forum Posts: 13
Member Since:
February 13, 2019
sp_UserOfflineSmall Offline
9
March 18, 2019 - 11:07 pm
sp_Permalink sp_Print

Hello Catalin,

 

I mae the connection based on the suggestion and changed some of the formula's.

Now the looks goods and works fine. Thank you for your help.

 

Regards

Dick 

Avatar
Catalin Bombea
Iasi, Romania
Admin
Level 10
Forum Posts: 1807
Member Since:
November 8, 2013
sp_UserOfflineSmall Offline
10
March 19, 2019 - 7:35 pm
sp_Permalink sp_Print

You're welcome, glad to hear you managed to make it work.

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) 8
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.