Scope statement for Change From Prior Year

Hello All,
I have to create Current Year, Prior year  and change from Prior year for all the measures. I was able to creat current Year and Prior Year calcuation with scope statemnet. But I could not do the same for Change from Prior year.  I am getting 0 for
all the months.
Here is what i have:
SCOPE([LABEL].[LABEL].&[ChangeFromPY])
THIS=
AGGREGATE(
[DATE DT].[Date_Hierarchy].CURRENTMEMBER,
[LABEL].[LABEL].&[Current Year]
AGGREGATE(
PARALLELPERIOD
[DATE DT].[Date_Hierarchy].[Year], 1, [DATE DT].[Date_Hierarchy].CURRENTMEMBER),
[LABEL].[LABEL].&[Prior Year]

Hi Om25,
According to your description, the Prior year calculation works on Excel, however, it not works when creating dashborad in performance Point, right? In this case, you can create separate measures for Prior Year in Cube, and use it in performance Point directly.
Here is a link that might helpful for you, please see:
http://www.bidn.com/blogs/cprice1979/ssas/2473/fun-with-mdx-ndash-part-3-ytd-and-prior-ytd-calculations
Regards,
Charlie Liao
TechNet Community Support

Similar Messages

  • Clearing of down payments on assets from prior year

    Hello,
    we have the following problem with an Asset under Construction (AuC) that has been migrated from a legacy system with down payments in a prior year.
    Migration has taken place in 2007 (within the year). The down payment has not been cleared in 2007, but left on the asset for 2008. The clearing of the down payment on vendor side has already taken place in 2007.
    When the AuC shall now be settled to a final asset via AIBU, the error message AW605 "Down payment to recipient YYYY area 01 amount XXXX not cleared" appears.
    When the down payment on the Asset under Construction shall be cleared first with transaction ABSO (TType 181 "Clearing of down payments from current year"), the following error message appears: AA571 "Not possible to post down payment clearing. There are no down payments".
    In our SAP Version 6.0 there is NO transaction type "Clearing of down payments from prior year", though.
    Would appreciate any indication how to deal with the issue now - do we need to create a special transaction type for this purpose? If yes, how to configure the settings so that SAP knows to clear down payments from prior year?
    Thanks very much in advance for any help!
    Gabi

    I replied to your second post
    But my question is then how does the down payment appears in the CJI3 report
    Also, I am aware of your initial post. I feel, the details you gave is insufficient. You have just said there are two down payments made against a PO one is reflecting in WBSE another one is not. It will be difficult for others to suggest you a proper solution, You will have to give more detials as how you made the two down payments and you should tell us apart from appearing in WBSE what are all the other differences ..etc., You should give as much details as possible.

  • Report that  display salary for employee from this year and prvious year

    Hi
    How to do a report that display salary for employee from this year an previous year, my table has from period and two perid?
    Thanks

    You could try something like this but you MUST learn how to post questions! Very few members will help you if you word your question poorly or forget to mention vital imformation!
    select distinct ty.id, ty.emp, ty.sal, ly.sal
    from (select distinct id, userid, sal
    from salary_table
    where id = 123456
    and from_period = '01-JAN-2010'
    and to_period = '31-DEC-2010') LY,
    salary_table TY
    where ty.id = 123456
    and ty.from_period = '01-JAN-2011'
    and ty.to_period = '31-DEC-2011'

  • SSRS Matrix report. Variance expression by Month. Need to compare month from prior year to current month of current year VS2010

    Please help.  I have a matrix report.  In the report I have row group  PO Type.  One the Column groups I have a parent group by Fiscal Year, and then a child group by Month.  When I run the report, I get two years of data back broken
    out by month.  Please see below.
    Now here is where I am getting stuck.  I need to take the variance between the current month of the current year, from the same month of the prior year.  So I need to show the difference between Oct , 2014 from Oct, 2013. November, 2014 from November
    2013... etc. etc.
    In the example below, how do I create a column or row showing the variance for Contracts for October 2014.  I need to take the contracts for October 2014 which is 3 and subtract that from October 2013 which is 8.  Any suggestions? How do I do that
    for each month?  Then I need to do it for the quarter... then the year?  But I'll be happy if I can just get the month working first.
    Any help will be appreciated. 
    here is what my rdl file looks like.
    Here is what my report looks like when I render it.

    Hi Adrian_s2012,
    According to your description, you want to compare values for the month of current year with the month of prior year and get the variance. Right?
    In Reporting Services, we don't have any function to get this "Year to Year" Growth. In this scenario, if you data source is a cube, we suggest you use Analysis Services to achieve your requirement. If this data source is just from database, it will be hardly
    to calculate the variance because we need to compare the values within every two different column group and matrix generate adjacent columns one by one. Even we make it by using custom, every time executing the long code when generating result
    in a cell will reduce a lot of performance, we really don't suggest to do that in SSRS. Here is a thread with much easier requirement, please take a reference of that:
    http://social.msdn.microsoft.com/Forums/office/en-US/842e2dcb-d949-4297-9d91-eac989692cb5/difference-between-the-grouped-column?forum=sqlreportingservices
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Averaging a value of a range from prior year

    Hi our requirement is :
    Account1-> Budget = Avg of Account1 of prior year from Jun to Mar ->Actual+ Avg of Account1 of prior to prior year for Apr & May->Actual
    I tried with @Avgrange & @ Prior but without success.
    Can anyone provide a soulution?
    Thanks in advance..

    Not sure how robust\elegant you need your solution (is it a one-off seeding exercise?)
    Anyway, something like this should work (i'm sure there are more clever ways out there if that's what you need)
    FIX(Budget, etc)
    Account1 = (@SUMRANGE(Account1->PriorYear,Jun:Mar) + @SUMRANGE(Account1->PriorPriorYear,Apr:May)) / 12;
    ENDFIX
    or if you are seeding a budget from Actuals would work across a range of accounts.
    FIX(AccountList)
    Budget = (@SUMRANGE(Actual->PriorYear,Jun:Mar) + @SUMRANGE(Actual->PriorPriorYear,Apr:May)) / 12;
    ENDFIX

  • Need to apply MTD logic for actual and prior year

    Hi Team,
    We are facing an issue with MTD calculation based on formula variables,
    Issue: MTD Only (Actual and Prior Year) – show the same value for MTD. 
    Requirement:
    When the query is run for a selected month, the query should be run for that month based on the Last TECO Date (Input Variable).
    • For example, dashboard is run for January 2014, the calculation of MTD should be based on the Last TECO Date : i.,e if I enter older date/month (not current date)[ 1/20/2014 means it should calculate for 1/1/2014 – 1/31/2014]
    • If the dashboard is run for the current month, the MTD calculation should be on Last TECO Date = 1st day of month – Current Day
    The above same calculation logic should be applicable for MTD prior year: instead of the input variable value, the value for previous year should be considered
    Final Calculation:
    If Last Labour Date is blank, 0, else Last TECO Date – Last Labour Date (by individual line item)
    Here we created two formula variables for last teco date and last labour date.
    Also created 2 Customer Exit variable for MTD Actual calculation.
    We have pulled the formula variable and CE variable into the selection and created a new CKF (Teco date).
    We have done the final calculation on the basis of the ( (labour date ==0)*0 + last teco date-last labour date )for MTD ACTUAL.
    MTD Prior Year-
    when have done calculation on the basis of the( (labour date ==0)*0 + last teco date-last labour date )for MTD Prior year by giving offset -12 to the value.
    Here for MTD Actual and MTD Prior year values are coming same  ,we tried with by doing customer exit variables as well, Still values are coming same.
    please give your valuable inputs/suggestions to proceed for this requirement .

    I assume the Sales measure is a monthly measure. The Prior year calculation as I described will give you the sales for the same month in the previous year when selecting month in your report. When selecting year it will add up all months of the prior year until now and you will indeed see the Prior year YTD.
    If you want to see the total sales for the previous year you have to use the same calculation as 'Prior year' and map it to the year level of your time dimension. This will work as a 'partition by year'.

  • It appears that iPad does not retain information from prior years - appointments, etc.  Valuable info is lost unless there is an archive feature that I cannot find.

    It appears that the iPad, and also the iPhone do not retain information for prior years, such as appointments, etc.  Unless there is an archive feature, which I have not found, valuable information is lost.  Any help would be appreciated.

    Thank you so much to JimHdk.   A really simple solution, but I guess I am not totally familiar with my iPad.  I have a high learning curve with my iPhone also.

  • Year ago,  percentage of change from last year for a measure

    Hello Experts,
    I have a report which has year column and sales, revenue, profit and they are asking me to give a percentage of change of sales from the last year. Could you please help me how can i get it and the syntax for that. Please advise.
    Thanks,
    RC
    Edited by: user1146711 on Dec 14, 2011 8:32 AM

    Hello RC,
    You can use the AGO function to calculate the previous year figure.
    This topic explains how to achieve it. the most important think here is that you must have a proper time dimension with a propoer chronological key.
    http://obiee101.blogspot.com/2008/11/obiee-ago-and-todate-series.html
    After will be able to compare the figures.
    Regards
    Adil
    NB: please assign point if it's helpful

  • Shortcut for changing "from" field in Lion Mail?

    I manage a number of email accounts from Mail, and frequently need to send messages from one account, and then another account, and then another account ... In Snow Leopard, I enjoyed creating shortcuts to change the "from" field of an outgoing message.  For example, in the keyboard system preferences pane, I assigned the command "My Name <[email protected]>" the shortcut of "SHIFT+CMD+X".  That way, while writing an email, if I noticed that it was about to send from the wrong account, I'd just hit the keystroke instead of grabbing my mouse.  Mail apparently knew what I was doing, because on the drop-down tab for "From", each of my mail accounts also showed the custom assigned shortcut.
    This ability seems blocked in Lion.  Whenever I try to re-create these shortcuts in the preferences / application-shortcuts pane, they won't work!  What's worse, whenever I quite and re-open System Preferences, I find that my shortcuts have been re-assigned an extra open-bracket, such as: ">My Name <[email protected]>".
    Does anyone know what I'm doing wrong?  Is it possible to re-create these shortcuts in Lion Mail? 

    MOE O wrote:
    So Entourage can go to the previous message?  How do you do that?
    I can't stand that Mail always goes to the next newest message after deleting.
    Every other email program I've ever seen (including Entourage - see below) can do this.  Why can't Apple?  I don't want to touch the mouse most of the time because it really slows down work to move ones hands back and forth.   I did a quick web search and found these shortcuts for all the major programs.  If you know of any other program besides Apple Mail that doesn't have this, let me know.
    Until then, if Outlook, Outlook Express, Entourage, Sparrow, Postbox, and Thunderbird have had this, what's Apple's problem adding it?
    David
    Postbox Shortcuts
    For our power users, here's a list of Keyboard Shortcuts that you can use to navigate your way through Postbox.
    Message Navigation
    Mac OS X
    Windows
    Go Home
    Command + Shift + H
    Home
    Go to Next Message
    F
    F
    Go to Previous Message
    B
    B
    Go to Next Unread Message
    N
    N
    Go to Previous Unread Message
    P
    P
    Go to Next Viewed Message
    Go to Previously Viewed Message
    Sparrow
    Go to previous / next message  - cmd-[ / cmd-]
    Outlook Express
    Go to the next message in the list
    CTRL+> or CTRL+SHIFT+>
    Go to the previous message in the list
    CTRL+< or CTRL+SHIFT+<
    View properties of a selected message
    ALT+ENTER
    Refresh news messages and headers
    F5
    Go to the next unread e-mail message
    CTRL+U
    Entourage
    Display the previous message
    ⌘+[
    Display the next message
    ⌘+]
    Display the previous unread message
    CONTROL+[
    Display the next unread message
    CONTROL+]
    Moving around Thunderbird
      ⇐  |   ⇑  |   ⇒ 
    Moving between messages
    Go to Next Message
    F
    Go to Previous Message
    B
    Go to Next Unread Message
    N
    Go to Previous Unread Message
    P
    Go to Next Unread Thread (and mark current thread as read)
    T
    Go to Next Viewed Message
    Go to Previous Viewed Message
    outlook 2010:
    Switch to next message (with message open).
    CTRL+PERIOD
    Switch to previous message (with message open).
    CTRL+COMMA 

  • Enhancements doc for changes from SRM 5.0 over 2.0

    Hello Friends,
    Anybody is having documentation on changes or enhancements in SRM
    From VERSION 2.0 to Version 5.0?
    Or is there any specific link where i can find those changes
    My client is currently on 2.0 and wants to know this through documentation
    Please help
    my id [email protected]
    Thanks in advance
    Best Regards
    Diwakar
    Message was edited by:
            diwakarnd deshpande

    Hi
    <b>Please go through the links for detailed SAP Help in this case -></b>
    <u>Enhancements</u>
    http://help.sap.com/saphelp_47x200/helpdata/en/bf/ec079f5db911d295ae0000e82de14a/frameset.htm
    <u><b>Enhancements, Modifications, …</b></u>
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/8cdf37a461272ee10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/bf/ec07a55db911d295ae0000e82de14a/frameset.htm
    <b>Customer Exits</b>
    http://help.sap.com/saphelp_47x200/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
    <u>Java Enhancements</u>
    http://help.sap.com/saphelp_47x200/helpdata/en/80/7d863c593a8767e10000000a114084/frameset.htm
    <u>Business Add-Ins</u>
    http://help.sap.com/saphelp_47x200/helpdata/en/bf/ec079f5db911d295ae0000e82de14a/frameset.htm
    <b>ABAP Objects</b>
    http://help.sap.com/saphelp_47x200/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    <u>Preparing to Run Transaction SPAU</u>
    http://help.sap.com/saphelp_47x200/helpdata/en/2e/6d66677d9011d396b60000e82de14a/frameset.htm
    Do let me know.
    Regards
    - Atul

  • JTextfield  listening for changes from other class

    Hi,
    Assuming I have a Jtextfield in one of the class1 extend Jframe,
    how do I update the jtextfield so that it could up make accessible by other class and continuously updated to reflect the input for value rom another class2.
    In other words very much similar to the observable model view concept
    class 1 may be look like
    private void initComponents() {
    jTextField1 = new javax.swing.JTextField();
    jButton1 = new javax.swing.JButton();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    jTextField1.setEditable(false);
    class 2 may be look similar to the following
    public void out_1(){
    setStop1("N");
    for (int i=1;i<100;i++){
    class_1.getJTextField1().setText(String.valueOf(i)); // System.out.println(i);
    setOuti(i);
    setStop1("N");

    HI,
    I have attempted with the following coding , test 1 the source display generated using Netbeans GUI , t est2 the worker code ,and mybean the bean , so far nothing seems to work .
    I have not try the threaded swing concept as I am not familar with the concurrency but i am not sure whether propertylistener will do the job or not
    In summary , list of method employed are :
    binding the jtextfield1 to a bean,
    jtextfield add document listener ,
    Coding objective
    1. Test 1 defined jtexfield1 and jbutton
    2 Jbutton added actionlistener , where upon click,
    Execute Test 2 which will assign a series of integer to the bean , own setters & getters, Output is achieved via Test 1 jtextfield1 supposingly to display all the running number from 1 to 99 continuously until the test2 out_1 method finished the execution
    Anyone could provide the assistance .
    Thank
    * Test_1.java
    * Created on July 25, 2007, 9:23 PM
    package sapcopa;
    import java.beans.PropertyChangeListener;
    import javax.swing.event.DocumentEvent;
    import javax.swing.event.DocumentListener;
    import javax.swing.text.Document;
    import sapcopa.MyBean.*;
    public class Test_1 extends javax.swing.JFrame {
    /** Creates new form Test_1 */
    // private Test_2 t2=new Test_2();
    private String input_txt;
    public Test_1() {
    myBean1=new MyBean();
    myBean1.addPropertyChangeListener(new java.beans.PropertyChangeListener(){
    public void propertyChange(java.beans.PropertyChangeEvent evt) {
    bean_chg(evt);
    initComponents();
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
    private void initComponents() {
    myBean1 = new sapcopa.MyBean();
    jTextField1 = new javax.swing.JTextField();
    jTextField1.getDocument().addDocumentListener(new MyDocumentListener());
    jButton1 = new javax.swing.JButton();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    jTextField1.setEditable(false);
    jTextField1.setText(myBean1.getRecord_Process());
    jTextField1.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
    public void propertyChange(java.beans.PropertyChangeEvent evt) {
    txt1_chg(evt);
    jButton1.setText("jButton1");
    jButton1.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    But1(evt);
    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(layout.createSequentialGroup()
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(layout.createSequentialGroup()
    .addGap(19, 19, 19)
    .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 250, javax.swing.GroupLayout.PREFERRED_SIZE))
    .addGroup(layout.createSequentialGroup()
    .addGap(32, 32, 32)
    .addComponent(jButton1)))
    .addContainerGap(131, Short.MAX_VALUE))
    layout.setVerticalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(layout.createSequentialGroup()
    .addContainerGap()
    .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addGap(21, 21, 21)
    .addComponent(jButton1)
    .addContainerGap(216, Short.MAX_VALUE))
    pack();
    }// </editor-fold>//GEN-END:initComponents
    private void txt1_chg(java.beans.PropertyChangeEvent evt) {//GEN-FIRST:event_txt1_chg
    // TODO add your handling code here:
    //myBean1=new MyBean();
    try {
    jTextField1.setText(myBean1.getRecord_Process());
    } catch (Exception e){
    e.printStackTrace();
    }//GEN-LAST:event_txt1_chg
    private void bean_chg(java.beans.PropertyChangeEvent evt){
    jTextField1.setText(myBean1.getRecord_Process());
    private void But1(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_But1
    //getJTextField1().getDocument().addDocumentListener(new MyDocumentListener());
    Test_2 t2=new Test_2();
    t2.out_1();
    try{
    System.out.println("Button 1 mybean->"+myBean1.getRecord_Process());
    } catch (Exception e){
    e.printStackTrace();
    // TODO add your handling code here:
    }//GEN-LAST:event_But1
    * @param args the command line arguments
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new Test_1().setVisible(true);
    public javax.swing.JTextField getJTextField1() {
    return jTextField1;
    public void setJTextField1(javax.swing.JTextField jTextField1) {
    this.jTextField1 = jTextField1;
    class MyDocumentListener implements DocumentListener {
    final String newline = "\n";
    public void insertUpdate(DocumentEvent e) {
    // updateLog(e, "inserted into");
    String vstr=myBean1.getRecord_Process().toString();
    jTextField1.setText(vstr);
    public void removeUpdate(DocumentEvent e) {
    //updateLog(e, "removed from");
    String vstr=myBean1.getRecord_Process().toString();
    jTextField1.setText(vstr);
    public void changedUpdate(DocumentEvent e) {
    //Plain text components don't fire these events.
    String vstr=myBean1.getRecord_Process().toString();
    jTextField1.setText(vstr);
    public void updateLog(DocumentEvent e, String action) {
    Document doc = (Document)e.getDocument();
    int changeLength = e.getLength();
    // jTextField1.setText(String.valueOf(changeLength));
    String vstr=myBean1.getRecord_Process().toString();
    jTextField1.setText(vstr);
    public String getInput_txt() {
    return input_txt;
    public void setInput_txt(String input_txt) {
    this.input_txt = input_txt;
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    private javax.swing.JTextField jTextField1;
    private sapcopa.MyBean myBean1;
    // End of variables declaration//GEN-END:variables
    * Test_2.java
    * Created on July 25, 2007, 9:26 PM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package sapcopa;
    import sapcopa.MyBean.*;
    public class Test_2 {
    private Test_1 t1=new Test_1();
    private int outi;
    private String stop1;
    MyBean mybean;
    /** Creates a new instance of Test_2 */
    public Test_2() {
    public void out_1(){
    setStop1("N");
    mybean=new MyBean();
    for (int i=1;i<100;i++){
    mybean.setRecord_Process(String.valueOf(i));
    setOuti(i);
    setStop1("N");
    setStop1("Y");
    public int getOuti() {
    return outi;
    public void setOuti(int outi) {
    this.outi = outi;
    public String getStop1() {
    return stop1;
    public void setStop1(String stop1) {
    this.stop1 = stop1;
    * MyBean.java
    * Created on July 24, 2007, 12:00 AM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package sapcopa;
    import javax.swing.JTextField;
    public class MyBean {
    /** Creates a new instance of MyBean */
    public MyBean() {
    * Holds value of property record_Process.
    private JTextField txt_rec_process;
    private String record_Process;
    * Utility field used by bound properties.
    private java.beans.PropertyChangeSupport propertyChangeSupport = new java.beans.PropertyChangeSupport(this);
    * Adds a PropertyChangeListener to the listener list.
    * @param l The listener to add.
    public void addPropertyChangeListener(java.beans.PropertyChangeListener l) {
    propertyChangeSupport.addPropertyChangeListener(l);
    * Removes a PropertyChangeListener from the listener list.
    * @param l The listener to remove.
    public void removePropertyChangeListener(java.beans.PropertyChangeListener l) {
    propertyChangeSupport.removePropertyChangeListener(l);
    * Getter for property record_Process.
    * @return Value of property record_Process.
    public String getRecord_Process() {
    return this.record_Process;
    * Setter for property record_Process.
    * @param record_Process New value of property record_Process.
    public void setRecord_Process(String record_Process) {
    String oldRecord_Process = this.record_Process;
    this.record_Process = record_Process;
    propertyChangeSupport.firePropertyChange("record_Process", oldRecord_Process, record_Process);
    * Holds value of property rec_Match.
    private String rec_Match;
    * Getter for property rec_Match.
    * @return Value of property rec_Match.
    public String getRec_Match() {
    return this.rec_Match;
    * Setter for property rec_Match.
    * @param rec_Match New value of property rec_Match.
    public void setRec_Match(String rec_Match) {
    String oldRec_Match = this.rec_Match;
    this.rec_Match = rec_Match;
    propertyChangeSupport.firePropertyChange("rec_Match", oldRec_Match, rec_Match);
    public JTextField getTxt_rec_process() {
    return txt_rec_process;
    public void setTxt_rec_process(JTextField txt_rec_process) {
    JTextField oldTxt_rec_process=this.txt_rec_process;
    this.txt_rec_process = txt_rec_process;
    propertyChangeSupport.firePropertyChange("txt_rec_process", oldTxt_rec_process, txt_rec_process);
    }

  • SQL-Statement for changing yes/no field entries

    I need to change the entrie of a yes/field. The way I have it doesn't work.
    Hope you can help me...
    Statement stmt = loqui_db_connect.dbconn.createStatement ();
            stmt.executeUpdate ("UPDATE user_db SET User_online = 'true' " +
                    "WHERE User_ID = 000001");
            stmt.close ();mfg
    m0rbid
    Message was edited by:
    m0rbid

    The true/false or yes/no or on/off field-type in
    access.
    And I want to know with which argument I can change
    the values.The Yes/No field is equivalent to the SQL BIT. SO, I guess you should make use of PreparedStatement and use a setBoolean() to set that value. If you are unaware of PreparedStatements, read here:
    http://java.sun.com/docs/books/tutorial/jdbc/basics/prepared.html

  • SSRS Line graphs, change the axis maximum and minimum by month, and change data series from calendar year to financial year

    I am using SSRS and I cannot access SQL server to answer my problem, so the solution needs to be done via SSRS only.
    I am currently trying to graph some data. The problem is, the months on the X axis are aligned by calendar year. I need the first month to commence with July, with the last month on the axis to be June. This also means that the year series need to be changed
    from calendar year to Australian financial year.
    Screenshots are provided in the comments.

    Hi Northern,
    Per my understanding that you want to show the month in the x axis as the order of the financial year(7,8,9,10...4,5,6) and also display the year in the series group as the financial year, right?
    I have tested on my local environment and we can modify the query in the sql to get the financial year value based on the fields of Calendar year, details information below for your reference:
    1. Modify the query as below:
    SELECT
    Calendar_Date,CASE WHEN MONTH(Calendar_Date)>=7 THEN
    YEAR(Calendar_Date)+1
    ELSE YEAR(Calendar_Date) END AS Financial_Year,
    MONTH(Calendar_Date)as Financial_Month,
    Billing_Amount
    FROM TableName
    order BY
    Calendar_Date
    2. Add the "Billing_Aomount" in the Value area, "Financial_Month" in the Category group area and "Financial_Year" in the Series group area.
    3. Right click the  "Financial_Month" under the Category group to select the "Category group properties",click the sorting and add below expression in the Sort by to specify the order for the month in the x-axis:
    =switch(Fields!Financial_Month.Value="7",1,Fields!Financial_Month.Value="8",2,
    Fields!Financial_Month.Value="9",3,Fields!Financial_Month.Value="10",4,
    Fields!Financial_Month.Value="11",5,Fields!Financial_Month.Value="12",6,
    Fields!Financial_Month.Value="1",7,Fields!Financial_Month.Value="2",8,
    Fields!Financial_Month.Value="3",9,Fields!Financial_Month.Value="4",10,
    Fields!Financial_Month.Value="5",11,Fields!Financial_Month.Value="6",12)
    4. Preview you will get the sample chart display as below according to my sample data:
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Employer discount changed from 22% to 8%

    I recently sent a revalidation last month of my employment.  Verizon confirmed it and continued my discount.  I was getting a 22% discount, but this month's bill it is now a dismal 8%.  What gives?  My employer still states its a 22%. 

        Hi xxryu139xx! Boy, that's quite a difference in discount. Although I'd very much like to speak to the change, the terms and conditions of the agreement between Verizon Wireless and your employer are the determining factor for the discount percentage. These agreements can sometimes change from one year to the next, and can even have different percentages for employees depending on the employer's internal structure so that some employees will get different percentages than others. We assign the percentage based on the feedback we receive from the employer.
    DionM_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • CURRENT YEAR SALES DATE PARAMATER AND PRIOR YEAR SAME DATE RANGE

    I am pulling data from a SQL view dbo.view that has current and historical SOP data by line.  The date paramater is a date range,  uppr date and lower date formulas are in the report.  I need to include prior year SOP data for the same prior year date range in the detail.  I have tried adding the view in twice with no luck, just duplications.  Ultimately I want to supress the detail and only show the totals by customer so it is comparitive.  Thanks for your help.  Jayne

    OK
    lets simplify it
    get a test data source with some simple dates in it.
    get the report logic working.
    it looks like you have the right formula ideas but lets go for
    @upperthisyear
    @upperlastyear
    @lowerthisyear
    @lowerlastyear
    then assuming a date field of {table1.date}
    the record selection would be
    if (@upperthisyeare > {table1.date} and @lowerthisyear < {table1.date}) or (@upperlastyeare > {table1.date} and @lowerlastyear < {table1.date}) then 1 else 0
    I would test this by using it as a formula field with the test data.

Maybe you are looking for