Date Expression showing Error in SSRS

Hi,
I have value for Month field as 0. I have used MonthName function in the report. So im getting error as #Error
Expression:
MONTHNAME(Fields!Month.Value)& " "& Fields!Day.Value &" "&  Fields!Year.Value
Please help me to resolve the issue.
Thanks in Advance..
Regards,
LuckyAbdul

Hi,
I want to show if the monthValue = 0 then it should show as N/A or any other. If the monthvalue is 1 to 12 then i need to show as monthname of the monthvalue.
Expression:
MONTHNAME(Fields!Month.Value)& " "& Fields!Day.Value &" "&  Fields!Year.Value
Example:
if my monthvalue is 0 then
output should be
N/A
if my monthvalue is 1 then
output should be
January 21 2014
Please help me to resolve the issue.
Thanks in Advance..
Regards,
LuckyAbdul

Similar Messages

  • Discoverer "Set Date Parameter" showing error

    Hi
    I am using parameter in my discoverer desktop report. This is developed by someone but i can see the functions as mentioned in Re: Passing multiple parameters into Custom Folder... this link. Now when I am passing the input parameter to my report it is not taking and the output returned is FALSE.
    My doubt is do I need to run any function before running this sheet? But this sheet running fine in PROD. Please help me.

    Hi,
    You will have to give us some more details about the function you use and how you pass in the parameter. If you are trying to use GET_DATE_PARAM1 and SET_DATE_PARAM1 then this technique often doesn't work because you cannot get and set a parameter in the same query using functions.
    Rod West

  • SSRS query shows error no columns

    this is the query command Text:
    ="select pallet_id, pallet_create_dm,pn_id from MATS_ITG.pwax_pen_link where pallet_id  in ("& Join(Parameters!pallet_id.Value,",") &")"
    when it querys it shows error
    An error has occurred during report processing. (rsProcessingAborted)
    Query execution failed for dataset 'DsPartial_lookup'. (rsErrorExecutingCommand)
    ERROR [42703] ERROR 2624: Column "SGAC2207H0" does not exist 
     pallet_id is a multiple value  ,SGAC2207H0 is just my data
    can not figure out why, Please help me

    Hi ,
      Pallet_ID parameter seems to passing string like 'SGAC2207H0' . Check and change the parameter to pass numbers by checking the assignment to the value column in the parameter. If still need the string to be passed , Try the below expression  
    ="select pallet_id, pallet_create_dm,pn_id from MATS_ITG.pwax_pen_link where pallet_id in ('"& Join(Parameters!pallet_id.Value,"','") &"')"
    Best Regards Sorna

  • SSRS pulls data from ESSBASE cube, data not showing

    Dear Experts,
    We are connecting SSRS 2012 to Essbase 11.1.3 to pull data from the cube, and having some issues with some members data not showing in the query designer and report, while some have no problem. And we couldn't find a pattern on which members won't show. We are wondering if this is a known issue and if there is a way to solve the problem.
    Thanks very much.
    Grace

    Hi ,
    Check the following:-
    1 Check whether you have made the joins properly.
    2 Check data at multiprovider level .
    3 is data available for reporting in both the cubes
    Regards
    Rahul

  • TS4585 When I am restoring backup data for my iPhone 4 in the end of back up restore it show error message " back up can't be restored" , please advice what I can do to restore my backup

    When I am restoring backup data for my iPhone 4 in the end of back up restore it show error message " back up can't be restored" , please advice what I can do to restore my backup

    That usually means that there is something wrong with the backup and it cannot be used.  You can try restoring the backup again, but if you continue to get the same message all you can do is restore to a different backup, if you have one.

  • MY PDF DOC SHOWS ERROR "INSUFFCIENT DATA " ON EMAILS FROM ACROBAT READER CUTS OFF THE BOTTOM OF THE DOC

    MY DOC PRINTS CORRECTLY BUT EMAIL COPY SHOWS ERROR " INSUFFICIENT DATA" ????

    Hello,
    May I know the version of Adobe Reader you are using.
    If you are using an old version, I would suggest you update to the latest version of Adobe Reader XI and let us know if the issue still persists.
    Regards,
    Nakul

  • When click Previous 10 in inner table it show error Stale Data

    In inner table when it have more than 10 records it will automatic show navigate Previous 10 and Next 10 when click Next 10 don't have any error but when click Previous 10 it error as below (show white page).
    Error: Stale Data
    The requested page contains stale data. This error could have been caused through the use of the browser's navigation buttons (the browser Back button, for example).
    Cause:
    The number of displayed records, 10, exceeds the actual number of records, 1, in view object PostFundAM.FaoBudFundSrcsTempVO_FaoBudPeriodsFundTempVL_FaoBudFundSrcsTempVO. Some of the displayed records may have been deleted.
    To proceed, please select the Close Window link at the top of the application page to return to the main menu. Then, access this page again using the application's navigation controls (menu, links, and so on) instead of using the browser's navigation controls like Back and Forward.
    Could someone help me to solve this problem.
    thanks.

    Yes, there are 2 primary key column, in VO get data from EO.
    I found some solution about navigation as below in dev guid. Is it solution for solve this problem?
    Note: If you have a wide table that requires horizontal scrolling, you can prevent the Next and Previous links from appearing off the screen by setting the Width property of the advancedTable region to 100%.
    Runtime ControlFor event handling, specify the following code in your controller's processFormRequest to check for a navigation event:
    if (GOTO_EVENT.equals(pageContext.getParameter(EVENT_PARAM))
    To check whether the Next link or Previous link is selected:
    if ((tableBean.getName().equals(SOURCE_PARAM)) &&
    (GOTO_EVENT.equals(pageContext.getParameter(EVENT_PARAM)))
    String value = pageContext.getParameter(VALUE_PARAM);
    if (value != null)
    int val = Integer.parseInt(value);
    int newRangeStart = val - 1;
    if (tableVO.getRangeStart() < newRangeStart)
    // next pressed
    else
    // previous pressed
    thanks.

  • In sqlplus after a bad compile where does the show errors data exist?

    I am creating an automated deploy of code for project releases. In sqlplus I use the whenever command for sql errors but it doesn't catch bad compiles. When the process runs it runs as a dba user having the stored procs fully qualified causing the compile error not show in the user_errors but in all_errors. While experimenting I saw that another user could get a new record put into all_errors but my session when in sqlplus I still see the error from my compile from SHOW ERRORS. My question is where is the data from the show errors in my session stored and is it available for me to query so I can check for compile errors within sqlplus?
    Hope that was clear .
    Thanks,
    Ken

    In sqlplus ...You are in the wrong forum. This is for Oracle Forms.

  • I have ipod nano 6G.I was trying to restore it to clear all the data but it showed error 1439 and couldn't restore.I tried every method given in errors help page but nothing worked.What should i do?

    I have ipod nano 6G.I was trying to restore it to clear all the data but it showed error 1439 and couldn't restore.I tried every method given in errors help page but nothing worked.What should i do?

    Just in case (even though your symptoms aren't explicitly mentioned in the document), let's check to see if there's a LSP problem in play here:
    Apple software on Windows: May see performance issues and blank iTunes Store

  • Tds report generation showing error

    hi experts ,
    in printing of tds certificate showing error .
    "no data selected for printing " mess no:8i 000
    the problem is comming when i maintained tds certifate no configaration .
    without that tds form printing is working ?
    please help me in this issue ?
    thanks .
    deepthi ?

    Hi,
    Check ur TDS certificate no. ranges again.
    At the time of print preview of certificate, you will not be able to view the certificate no. but once you print it, you will get the certificate no. as well.
    Regards
    Anuj Agarwal

  • How to show error message in a report program

    Hello Guys,
    I am making a report using smartforms. I am successful in showing data  but problem is if if i put a value in parameters that does not exist is database, the smartform runs and related fields shows as empty fields. But the form is running. I want to show error message if the parameter values dose not matches with the database values. The message will show as Document not exists
    So i used related error msg here like
    if sy-subrc ne 0.
              message e357.
               endif.
    But it is not working for passing values to smartform. It works if i use in classical report. Plz help me on this issue.
    Thanks,
    Rosaline.

    >
    Rosaline. wrote:
    > Thanks all for reply.  Should i have to use message before call function 'SSF_FUNCTION_MODULE_NAME' ? I tried it but not working.
    >
    >
    if it_final[] is not initial.
    >*             if sy-subrc ne 0. ---> "Remove this condition check, it not required
    >            Message e000(8i) with 'Parameter value not found'.
    >            endif.
    > *            endif. ---> "remove this
    >
    Hi,
    Sy-subrc doesnt need to be validated here, remove that If condition and check again.
    Regards,
    Karthik D

  • My ipod touch is shpwing the "connect to itunes" screen.. and on connecting to itunes and clicking on "restore" it shows error 3014.. what do i do?

    my ipod touch is showing the "connect to itunes" screen.. and on connecting to itunes and clicking on "restore" it shows error 3014.. what do i do?

    Errors 3000-3999 (3004, 3013, 3014, 3018, 3164, 3194, and so on): Error codes in the 3000 range generally mean that iTunes cannot contact the update server (gs.apple.com) on ports 80 or 443.
    Update to the latest version of iTunes.
    Verify the computer's date and time are accurate.
    Check that your security or firewall software is not interfering with ports 80 or 443, or with the server gs.apple.com.
    Follow Troubleshooting security software. Often, uninstalling third-party security software will resolve these errors.
    An entry in your hosts file may be redirecting requests to gs.apple.com (see "Unable to contact the iOS software update server gs.apple.com" above).
    Internet proxy settings can cause this issue. If you are using a proxy, try without using one.
    Test restoring while connected to a known-good network.

  • How to display an "All Day Event" date correctly in an integrated SSRS Report?

    I have two event items in a calendar list in SharePoint 2010. Both items have the same start time and end time. One of them, however, has the "All Day Event" checkbox checked. If I access them through a REST service, this is how the data is
    returned:
    <!-- item 1 -->
    <d:StartTime m:type="Edm.DateTime">2014-03-21T00:00:00</d:StartTime>
    <d:EndTime m:type="Edm.DateTime">2014-03-25T23:55:00</d:EndTime>
    <d:AllDayEvent m:type="Edm.Boolean">false</d:AllDayEvent>
    <!-- item 2 -->
    <d:StartTime m:type="Edm.DateTime">2014-03-21T00:00:00</d:StartTime>
    <d:EndTime m:type="Edm.DateTime">2014-03-25T23:59:00</d:EndTime>
    <d:AllDayEvent m:type="Edm.Boolean">true</d:AllDayEvent>
    I have a report in the same SharePoint 2010 site that uses SSRS in integrated mode. The data source is the calendar list mentioned above.  The date fields are not formatted, just displayed as them come from the list/database.
    My locale is set to en-US. When I run the report, the start date for item 1 is displayed as "3/21/2014" ('all day' set to false) but the start date for item 2 is displayed as "3/20/2014" which is incorrect ('all day' set to true).
    I did some research online and found out that SharePoint stores all date fields as UTC except for 'All Day Events', which are stored in local time (our servers are in Central Time, but I'm running the report fom Pacific Time, in the US).
    I coudn't find a solution to display the date correctly in the integrated SSRS report. Is there a way, maybe some straightforward formatting, to show All Day Event dates correctly? I tried adding hours but this is inconsistent with daylight saving hour changes.
    I would appreciate any help.
    C#, Sharepoint

    Hi SharpBud,
    The date for all day event stored in SQL in GMT time, the start time for an all day event returns the start time in GMT time, which is not the current time most likely.
    This is a confirmed issue, as a workaround, I would suggest you to use a calculate column for the event for the column, using the following format:
    IF(TEXT(([End Time]-[Start Time])-TRUNC(([End Time]-[Start Time]),0),"0.000000000")="0.999305556",IF([Start Time]=ROUND([Start Time],0),[Start Time],DATE(YEAR([Start Time]),MONTH([Start
    Time]),DAY([Start Time])+1)),[Start Time])
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Foreign Trade data is incomplete error while creating accounting document:

    Dear laxmipathy&other SD Guru s,
    As per your suggestion (you have given an answer for the same question) I have tried to fill up the following fields:
    -Business transaction type for foreign trade
    -Export/import procedure for foreign trade
    -Commodity code /Import code Number for foreign trade
    But the system is not accepting it is showing error message again saying that foreign trade data is incomplete.
    Kindly help.
    Sushil

    Hi,
    You need to maintain this data in customization. Menu path:
    Materials Management->Purchasing->Foreign Trade & Customs->Transportation Data->Define Modes of Transport.
    This data needs to be maintained aagainst country "IN' if the plant is located in India.
    If useful, pl close the posting.
    Muraleedharan.R

  • While creating Table it shows error as 'missing or invalid option

    I had log on to ap/ap@vis in sqlplus and try to create table but showing error.....here below is the table
    Create table Purchase_Order
    (Item varchar2(10),
    Item_Desc varchar2(100),
    Item_Cost Number(7),
    Item_Qty Number(7),
    Item_Date Date,
    Need_by_date date,
    Last_updated_date date,
    last_updated_by number(10),
    creation_date date,
    created_by number(10),
    Attributed_category varchar2(100),
    attribute1 varchar2(100),
    attribute2 varchar2(100),
    attribute3 varchar2(100),
    attribute4 varchar2(100),
    attribute5 varchar2(100),
    attribute6 varchar2(100));
    But it showing error as ORA-00922:missing or invalid option

    It works for me
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> Create table Purchase_Order
      2  (Item varchar2(10),
      3  Item_Desc varchar2(100),
      4  Item_Cost Number(7),
      5  Item_Qty Number(7),
      6  Item_Date Date,
      7  Need_by_date date,
      8  Last_updated_date date,
      9  last_updated_by number(10),
    10  creation_date date,
    11  created_by number(10),
    12  Attributed_category varchar2(100),
    13  attribute1 varchar2(100),
    14  attribute2 varchar2(100),
    15  attribute3 varchar2(100),
    16  attribute4 varchar2(100),
    17  attribute5 varchar2(100),
    18  attribute6 varchar2(100));
    Table created.
    SQL>

Maybe you are looking for