Follow the following steps:
If your still facing the issue then finally restart your SQL Server Reporting Services in service and run the report. OR sometimes you need to delete the report in the report document folder, then deploy again to get the latest version published. After that restart the SSRS service instance. I hope that one of these helps. |
A journal about Dynamics AX X++ programming. A community service from AAK M Production.
Showing posts with label SQL Reporting Services. Show all posts
Showing posts with label SQL Reporting Services. Show all posts
Thursday, October 5
SSRS Report - Can't see changes after deploying SSRS report AX 2012
Thursday, September 7
SRSS - How To Append 'st', 'nd', 'rd' or 'th' To Day Numbers in Dates
Microsoft Dynamics AX ERP systems in it is a large and completed ERP Solution of all Time, but different user have different sets of requirement to achieve his/her business goal. A common example among all is to append Day number with 'st', 'nd', 'rd' or 'th'. Which is not possible in SSRS Report, because there are a lots of format available for date but you will not found any solution regarding this problem.
The available format in SSRS Reports are as following:
Formatting Date and Time in SQL Server Reporting Services (SSRS) is a very common need. And in some cases customers look for a very specific format, so it is important to understand the basic components of date and time formats.
SSRS offers many in-built Date and Time formats. Below are some of the in-built Date formats available in SSRS:

For appending all the above suffix you need to follow following steps:
1. Open any Report in Visual Studio and insert a textbox contain Data Field of Date Type,
2. Right Click on Textbox, Go To Text Box Properties
3. Click on Number tab, click on custom format option then click on fx button in black.
4. A form will open, copy the below text and paste there to need to change following text with your database date field.
Fields!FieldName.Value, "Dataset"
1. Replace FieldName with your Date Field
2. Replace Dataset with your Dateset Name
="d" + switch(int(Day((Fields!FieldName.Value, "Dataset"))) mod 10=1,"'st'",int(Day((Fields!FieldName.Value, "Dataset"))) mod 10 = 2,"'nd'",int(Day((Fields!FieldName.Value, "Dataset"))) mod 10 = 3,"'rd'",true,"'th'") + " MMMM, yyyy"
5. Press ok, Again ok. Deploy your report and check it on AX. Enjoy!!
Subscribe to:
Posts (Atom)
Popular Posts
-
We can compile AOS direct from the development environment by Right click on AOS then compile, but it usually takes up to 4 to 6 hours dep...
-
Multi Table lookup - Where you can set lookup field from multiple table by joining multiple table and create a multi table lookup using Sys...
-
Here is an example for a preRunModifyContract method in which it simply fetch the PurchTable record and set the RecId in the contract class...
-
There is infinite number of ways how to compute a hash and, of course, different implementations and different hash algorithms have differ...
-
Lookup table on form datasource field. Here is the code for multi table look. public void lookup(FormControl _formControl, str _filte...



