Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 153567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:49:25+00:00 2026-05-11T09:49:25+00:00

I have a data set (~10000 rows) with the following form: +—————————+—————+————-+ | DateTimeCreated

  • 0

I have a data set (~10000 rows) with the following form:

+---------------------------+---------------+-------------+ | DateTimeCreated           | Machine       | ProductName | +---------------------------+---------------+-------------+ | 2009-03-03 00:00:12.217   | COMP001       | Product001  | +---------------------------+---------------+-------------+ 

I have graphed this using a pivot table and chart with the following layout

Page: ProductName Column:  Machine Row: DateTimeCreated - Group by Day, Hour, Minute Data: Count of DateTimeCreated 

This all works correctly however the timescale of the resulting graph is not linear. For those minutes of the day where the event I am tracking did not occur these minutes do not show on the graph. The event I’m tracking also can go hours without occurring which results in an even more non-linear graph.

Here is an attempt to illustrate the x-axis of my graph:

|09|   10    |  11  |         12         |14| 16 |      18        |  20  |23| 

The desired result is:

|00|01|02|03|04|05|06|07|08|etc 

So each hour is the same size and is shown even if the event did not occurr (so on my Line graph the line simply goes to 0 for a while)

Can this be achieved?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T09:49:26+00:00Added an answer on May 11, 2026 at 9:49 am

    I changed my data set to look like this

    +---------------------------+---------------+-------------+-------+ | DateTimeCreated           | Machine       | ProductName | Count | +---------------------------+---------------+-------------+-------+ | 2009-03-03 00:02:00.000   | COMP001       | Product001  |   2   | +---------------------------+---------------+-------------+-------+ 

    so that the query is grouping the events by minute and providing the count in the minute

    I then generated a second data set that contained an entry for every minute of the day but with a count of 0 As I was only working with 24hr data sets this was not unreasonable

    Combining the two data sets gives a linear timeline on the pivot chart.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 87k
  • Answers 87k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer @@DATEFIRST is local to your session. You can verify it… May 11, 2026 at 5:37 pm
  • Editorial Team
    Editorial Team added an answer You want to return IEnumerable<Product>, which represents an iterable (or… May 11, 2026 at 5:37 pm
  • Editorial Team
    Editorial Team added an answer Try Ethereal - its a free network protocol analyzer. The… May 11, 2026 at 5:37 pm

Related Questions

I have a data set (~10000 rows) with the following form: +---------------------------+---------------+-------------+ | DateTimeCreated
I have a data set whose elements are displayed as rows in a DataGrid.
I have a data set that is organized in the following manner: Timestamp|A0001|A0002|A0003|A0004|B0001|B0002|B0003|B0004 ...
I have a large set of data (a data cube of 250,000 X 1,000
I have a data structure that I want to access / modify in different

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.