How to shift dates in a chart for series

I need to create chart as show on picture http://vp.hu.cz/bi1.jpg. This chart show daily comparation of some measure for last five years.
There are dates and days of last year on the horizontal axe. (Mon 4.5, Thu 5.5, Wed 6.5). I need shift values for previous years so that first Monday will be displayed on first Monday and so. For example values for first Wednesday will be at these dates: 5.1.2000, 3.1.2001, 2.1.2002, 1.1.2003
How can I do it?
I am able to do it on SQL level - I compute new date (first Monday in Year is always 1.1.) and then I can join those tables. But I look for better solution.
Thanks and Regards

Hi
Thanks for your help, I'm getting this error with that script:
Get-QADUser : Cannot bind parameter 'CreatedAfter'. Cannot convert value "[datetime]::Today.AddDays" to type "System.Da
teTime". Error: "String was not recognized as a valid DateTime."
At line:1 char:26
+ Get-QADUser -CreatedAfter <<<<  [datetime]::Today.AddDays(-1) `
    + CategoryInfo          : InvalidArgument: (:) [Get-QADUser], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Quest.ActiveRoles.ArsPowerShellSnapIn.Powershell.Cmdlets.
   GetUserCmdlet
Could you help me?

Similar Messages

  • How to extract data from monthly tables for annual balance chart?

    Hello Again!
    I am wanting to decide whether to enter all of my transactions into one table for the whole year or separate tables for each month. If I was to use one table for the whole year it would probably have in the region of 1000 entries, and as I understand it, Numbers doesn't work so well with such large tables. Also, as I will be mostly using Numbers on my iPad, where it runs slower, this may well slow things down considerably. Another reason for using Monthly Tables is that it would be easier to search.
    Having said this, I am using the following method to construct balance charts for my accounts which seems to depend on having just one table for all transactions for the year. Here is a sample of the transactions table:
    which updates the balance for each account after each new transaction is entered.
    Then I use the following table for creating the balance charts:
    It uses the following formula to return the balance at the end of each week for each account (this is the formula for Account 1) which then is displayed in the chart.
    =LOOKUP(A2,$Week Number,All Transactions :: Account 1)
    If I was to use the Monthly Tables method it is not obvious to me how I would create the Weekly Balance Table, given that I would need to draw data from 12 different tables, and that some of these Tables would contain the same Week Number (for weeks that overlap months).
    I would be grateful for any advice on achieving the result I am looking for by the most efficient method.
    Thanks
    Nick
    P.S. Hopefully this is the last question for a while!

    I wasn't urging you to keep an annual table but to spit it on an easier to rule basis.
    Split it in chuncks of exactly 35 days starting from the first one of the 'year' in operation
    Doing that everything will be easier
    the index of a day will be calculated by
    =DATEDIF(B,D,"D")+1
    The index of the 'custom_week' will be calculated by :
    =1INT((DATEDIF(B,D,"D")1)/7)
    So, it would be easy to gather datas from a given 'custom_week'.
    Yvan KOENIG (VALLAURIS, France) jeudi 5 août 2010 10:22:25

  • How to write data to the DAQ for a specified length of time while still reading the input data?

    Hello,
    I'm using labview 2012 and am trying to turn on a signal for a specified length of time in labview at the press of a button. The signal goes into an AO (PXI 6723) through my system, where the voltage gets divided by 2, the read in through the AI (PXI 6225). I want to write and read voltage constantly and then have a spike of voltage after pressing a button in LabView while still reading the voltage value for the specified amount of time.
    Parameters:
    constant voltage of 1 volt to Analog output (reading and writing) seen through a waveform chart.
    for 1 second, turn on 3 volts and see the response on the waveform chart.
    My specified delay time does not match the elapsed time. I am having difficulties doing this. I have attached the VI.
     ( I can't upload a functional VI since it shows "the contents of the attachment doesn't match its file type") How can I attach the VI?.
    Thanks!
    Eduardo

    Mike,
    Thank you for your reply! I greatly appreciate it. I currently don't have any DAQmx timing in my application. I tried using it and, without really understanding how it works nor how to manipulate it, the whole test end up taking a long time to change the values i.e. too slow.
    The DAQmx timing I used was the sample clock since it was for analog signals, but I don't really understand the buffer, what that means nor how to use it. inputting a rate time for it also made my test slower. The rate time is the samples per channel per second, but I'm not sure how to determine a number so that I am collecting the data I need and take into account aliasing.
    I know the PXI 6225 has the capability to read 250kS/s (which I am assuming it's kilosamples per second or 250,000 samples per second). I am using 32 differential channels. I have read that I have to divide the maximum sample rate by the number of channels, (250kS/s / channels) but I don't know if I should count the number of total channels (64) or differential channels(32). In other words, is the per-channel maximum rate:
    250,000/32 = 7,812.5 samples per channel per second, or
    250,000/64 =3,906.25 samples per channel per second
    Furthermore, If I know the number of samples per channel per second, how can I implement that knowledge to the DAQmx sample clock so that my sampling is as fast and as accurate as it can be?
    I attached an image of my DAQmx functions in my code, I merged all the stacked sequence structures in paint so you can see them.
    thanks for your help!
    Eduardo
    Attachments:
    DAQmx tasks.jpg ‏211 KB

  • How to upload data into Classification-MM02 for each MATNR By using BAPI

    Hi all
          How to upload data into characterstic value in  classification- MM02 for each MATNR by using BAPI.

    Hi Siva,
    Please try BAPI BAPI_OBJCL_CHANGE.
    The object key should be material number and object table should be MARA.
    Regards
    Hiren K.Chitalia

  • How old historical data can be available for SCOM performance views to show up in graphs?

    I have created performance rule based on performance counter and created a performance view on the target of the rule. It shows me the graph of how performance counter value changed over the period of time.
    In SCOM console there is an option in performance views, to choose start date-time and end date-time for the performance graph. It allows me to select a range of say few years.
    However going by the Microsoft documentation, it appears that performance data is stored in OperationsManagerDW database only for limited period.
    I have a feature requirement where we need to have performance views or reports or some means where for compliance purpose we should be able to show older data as well.
    So my query is exactly how much historical data(up to how old) is actually available for performance views? Is there any specific information or MS documentation available where I can get this information (duration of historical data in specific number of days
    or years or so.) I need to decide based on this if I can use performance views or I need to go for some kind of reports like SSRS reports instead.

    Hi,
    Additionally, I would like to share the following article with you. Hope it helps.
    Understanding and modifying Data Warehouse retention and grooming
    http://blogs.technet.com/b/kevinholman/archive/2010/01/05/understanding-and-modifying-data-warehouse-retention-and-grooming.aspx
    Niki Han
    TechNet Community Support

  • How to load data to fact table for the year 2008 without modifying session sql

    Hi,
    I need to load data to OOTB Financial-General ledger related fact tables using new DAC execution plan for the year 2008 (just for the year 2008 not before or after). without modifying OOTB informataica session SQL. do you know how to do it?
    appreciate you for your help. thank you.

    Do you know why you are going for new Execution plan instead of using existing?
    let me know this will share what I know
    thanks for checking
    PS: JV its you!!
    Message was edited by: SriniVEERAVALLI

  • How can I find Top music charts for any type of music? Reggae, French etc.

    Itunes used to have a way to see all the charts for any type of music. 60's, international, Latin, but I don't see a way to find this anymore. Can anybody help me?

    Charts by those categories no longer exist in the iTunes Store, unless they've been hidden somewhere I can't find. Most of those charts were compiled by Billboard and were removed at least a couple of years ago, probably due to licensing issues.
    You can, however, hover your cursor over the Music tab, click the arrow, and select the listed genres, and the page for that genre will list the Top Songs for that genre only.
    Regards.

  • How to see data on xy chart

    Hi all :
    please see attach picture ,,you can see that i convert that point data ( x,y ) to chart . what i need to know that if there is a way to see these dat point on the chart it self
    becouse i don't know if i convert the right point
    i look at chart - properties and i don't found thing about seeing the data on the chart
    thanks
    Attachments:
    chart.JPG ‏186 KB

    Hi elyan,
    simplified your vi and added cursor
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    spread point.vi ‏23 KB

  • I have no idea how to set up a pie chart for tracking spending with categories

    This is what I want to do to help me track my credit card spending.
    I want to make a Numbers sheet where i can jot down how much money i spent on a item, and what category that item would go with (example, food, electronics, gas, so on).
    and then i want to have a pie chart that will show much how much money i'm spending in each category and how much of a percentage of the total each category takes up of the whole.
    I have no idea how to set this up in a sheet. I tried typing it in a few times and every time i go to make a pie chart, it never shows me any of the results i want to see.
    can someone please help me set up a sheet to be able to get this information to display correctly in a pie chart?

    Brad,
    Create a table with the categories and the data (for now you can make up the data):
    Now add a chart from the Charts menu in the toolbar:
    Now click the "Add Chart Data" button just below the chart.
    Now select data (from column B) in the table.  Last trick is to click the menu at the bottom-left corner of the window and change the selection to "Plot rows as series" :
    Now add formulas to the table to properly summarize the data from your data entry table using the sumif() function.

  • How to plot data in a chart?

    I'm trying to plot data from a table in
    a ChartControl object. The table consists
    of two columns, one contains a numeric
    value and the other contains a date value.
    I'd like to plot the numeric value on the
    Y axis and the dates along the X axis.
    I've got the same data displayed in a grid
    format, and that's all fine.
    This seems like a simple enough thing to
    do, but I haven't found a basic page of
    documentation to guide me in the right
    direction. How do I do this?

    Use Reshape array to turn your 2-D array into a 1-D array.  You will need to wire in a constant of 40 since you will have 40 elements in your new array.  Convert the 1-D array to a cluster with Array to Cluster.  Right click on that function and set the size of the array to 40.  Wire that cluster to the waveform chart.  Now each of your 40 values you get after the double For Loops will run will append their new data to the 40 lines on your waveform chart.
    Message Edited by Ravens Fan on 12-18-2009 11:30 PM
    Attachments:
    ThermocoupleReadings[1]_BD.png ‏13 KB

  • How to clear data from XY graph for another trial

    I have a XY graph of motor counts versus  intensity. I used shift registers for building Array VI. After terminating the program once using stop terminal. And I cleared the graph. When I start taking measurement second time, same data repeats before the first one. So how can  clear it. Please reply 
    Solved!
    Go to Solution.

    That's one very quick way of doing it : initialize your shift registers.
    What happens in your VI is that after the VI stops (when you clic the stop button) the data that is in the shift registers (your X and Y arrays) stays in memory, so if you run again the VI it will add data into those arrays.
    To initialize your shift registers you need to connect en empty array to them before the while loop. Like this :
    hope this helps
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • How to scale data in column chart?

    Hi,
    I have a column chart who's data ranges from 638 to 4,263,000. Due to this extreme range, the lower valued columns are hardly visible
    Is there a way by which I can scale up the lower values or scale down the higher values, ultimately resulting in a chart with visible columns to the naked eye. Here's the screen shot for your reference:
    (Click on the image to enlarge)
    Appreciate you help...
    -Deepak

    Hello,
    Thank you so much for that hint   That one prompted me to use a PlotSeries instead of a ColumnSeries. And PlotSeries clearly shows up all the items, irrespective of how low or how high the value is. Looking at it, the user can drill down further, by clicking on that item.
    Screenshot:
    -Deepak

  • How would I create a Summary Chart for the Current Year Using a Count by Month?

    Post Author: MarkS
    CA Forum: Charts and Graphs
    I have a data set of 3 date fields.  I would like to create a summary counting all of the occurrances of each of these dates per month, similar to using a SumProduct() command in excel.
    For example, my data is as follows:
    Registered Date  |    Application Date   |   Sale Date
    1/1/2007             |      2/1/2007            |     2/20/2007    
    1/10/2007           |      2/1/2007            |     3/20/2007
    2/20/2007           |      3/10/2007          |     3/20/2007
    I would like to summarize this information by month as follows:
                          |  Jan '07   |   Feb '07  |  Mar '07  |  TOTAL
    Registered      |      2        |   1           |    0         |   3
    Applications    |     0         |   2           |   1          |  3
    Sales             |     0         |   1            |  2            |  3
    TOTAL           |   2            |  4            |  3            | 9
    Is there any way to do this?

    Post Author: V361
    CA Forum: Charts and Graphs
    Yes, but it will require some effort. Group on "Sale Date"  Change the group to group by month.   You can then create a running total for "Registered Date","Application Date"," Sale Date"      For Registered date, I used Field to summarize Registered Date,  Type of summary was count, Evaluate use a formula, reset on change of group 1 (I only have one group, "Sale Date")  The formula will look like this.
    month ({Registered Date  }) in &#91;1,2,3,4,5,6,7,8,9,10,11,12&#93;
    You would build your other running totals (Counts) using the same methods,
    Once you have these, you should be able to create your chart.

  • How to - Varibale Data in a PDF for mass email?

    I have a question for the Adobe InDesign community...
    Is there an easy way to add variable data to an InDesign PDF document for mass emailing?
    I am sending out a newsletter to over 500 emails and I'd like to add the client name to the PDF document and have it send to the appropriate email without having to do each one individually. We have Design Merge, however the only way to save out the variable data for the newsletter is to save them as post-scripts and then convert each file into a PDF. However...once all 500 records are made, is there a way to have the appropriate variable documents go to the right emails?
    I'm thinking I either need to do each email one at a time (which is time consuming)...or just redesign the newsletter as an html email and use something like Mail Chimp to have it include client names in the email as "IFNames."
    Anyone have any suggestions?
    Thank you.

    I don't understand what you want. Parts of what you want are possible, and it seems you understand how to do it (sort of).
    PlesePrintJ wrote:
    I am sending out a newsletter to over 500 emails and I'd like to add the client name to the PDF document…
    With the Mail Merge function within InDesign, you can take your (let's say four-page) newsletter and add 500 client names and email addresses, but it would result in a 2,000-page InDesign document (with 500 consecutive copies of your newsletter, each with a different name and email address, or what ever other data you need). That document can easily be exported to PDF, and the PDF can easily be broken into 500 four-page PDFs with Acrobat. If the page counts are an issue, you could break your data file into smaller chunks, and do several merges.
    PlesePrintJ wrote:
     …and have it send to the appropriate email without having to do each one individually.
    Here's where I don't understand you. Are you looking to make one email with 500 recipients, and have the appropriate PDF be attached automatically, without you having to choose the appropriate PDF with the cooresponding email? If so, that sounds like an email issue, more than an InDesign one. It may be (and probably is) something that can be automated, but I don't think InDesign is the step that is getting in your way.
    PlesePrintJ wrote:
    We have Design Merge, however the only way to save out the variable data for the newsletter is to save them as post-scripts and then convert each file into a PDF.
    I don't know anything about Design Merge, but Data Merge doesn't require this step. You can export to PDF directly from the InDesign document that is created by the Data Merge process.

  • How to load data using two maps for the same source file in Import Manager

    Hi,
    I am trying to load the source data to MDM using two map files, since one map is too big (creating memory error).
    However the first map data able to see after loading (SAP data) but when loading second map(nonSAP data) using the remote key to match the previously loaded SAP key ,even if MDM is processing the data it is not reflecting in data manager.
    Is there any reason for this.
    Appreciate your suggestion and tips on this.
    regrds,
    Reo

    Hi Reo,
    As ur requirement seems,In the second pass perform recording matching by select default import action as "<b>update null fields only"</b> for those data records which are matching and "<b>create</b> " for those data records which are not matching with previous data records from SAP system.
    If you define "update null fields only", then only the key of the new record from NON SAP will get appended to the existing record. And if you select "create" then it will create new records and will apply NON SAP key on it.
    Please check the remote key values using data manager.Key is applied in the records or not.
    Remember that import maps are client specific. Remote key comprises of both key and client system.So be sure that you are connecting to two different client systems.
    I have tried this and this is working fine on my system.
    Thanks,
    Shiv Prashant Dixit
    Thanks,

Maybe you are looking for