How to use Advanced filter for filtering Financial Dimensions in normal Inquiries forms.
See Filtering on account and dimension in Microsoft Dynamics AX 2012 and Microsoft Excel and Dimension Provider Class and Run-time dimension ranges.
Basically you add a relation to the view DimensionAttributeLevelValueView from the base table containing the ledger dimension.
Also, this answer may be of help.
I am looking for a asp.net control that will display a full year in a grid format, with each month as a row and each day in the month as the columns.
I use DayPilot when it comes to Planning and Calendars
http://www.daypilot.org/
They include the Monthly View as you request.
I have a database that tracks employee’s data for the current year and previous years.
In examples below I will use calendar years (years start in Jan and end in Dec)- this is not always the case, some users have their year running from July to June- or April to March, etc.
There are many tables that, with a few heavy calculations, make a view of the employee’s data at this point in time.
This current year’s data is what users look at mostly. But data from previous years impact on this year (so, a change made to the 2008 data- will have a knock on effect on 2009, and then into 2010 and so onto this year).
Obviously, this has a negative impact on performance when viewing reports as viewing this year’s data will mean trudging through all the previous years- calculating and creating views until the end result is found. As the application ages, this problem will get worse and worse- say in 2015, anybody using the system from its inception (2008) will be waiting for a long time to get their data.
We plan to freeze previous years data so instead of having data from 2008, 2009, 2010 and this year’s data- we would have one block with the previous year’s data (with all calculations done for those previous years) and this year’s data.
In this way, we would have the end results data for all the previous year’s already calculated and we would only need to add to this year to get the final result.
Obviously, we would have to prevent users from entering/updating data in previous years.
My question is what is the best way to achieve this? I presume you would need some process that waits until the new year and does some calculations.
Thanks in advance,
ViperMAN.
the approach you describe is normally referred as data archiving, you can have some queries a DBA runs manually every year the first working day after the new year party so the calculated data is prepared and stored.
Also, your application needs to deny users to modify previous years data, if I have got it right.
One approach I was thinking works as follows:
Create a table that holds the result of the previous years calculations.
Prevent all addtions/deletions/updates to previous years from the app tier.
Change reporting so that queries would consult this table instead of trudging along, calculating everything out each time.
Have a daily process that would:
Check if today was the first day of an employees year-
If yes, get all of the elapsed year's data and add them to all the previous years.
Obviously, this is a simlified version- but one that I think could work.
Thoughts?
If you have data that should not be edited, and you can define what that data is, then I would use a combination of stored procedures and security settings to ensure the old data stays accurate.
If you used stored procedures as a filter, you can have logic in your stored procedure that checks the record against the current DateTime and only allows the update if everything fits your requirements.
I want to develop some crosstab also know as pivot reports in Asp.net with x-axis and y-axis being dynamics, allowing grouping by row and column, for example: have products in y-axis and date in x-axis having in body number of sells of a given product in a given date, if date in x-axis are years, i want subtotals for each month for a product (row) and subtotals of sells of all products in date (column)
I know there are products available to build reports, but i am using Mysql, so Reporting Service is not an option. It's not necessary for the client build additional reports, i think the simplest solution is having a control to display such information and not using crystal report (which is not free) or something more complex, i want to know if is there an available free control to reach my goal.
Well, does anybody know a control or have a different idea,
thanks in advance.
You don't need SQL Server to run Reporting Services reports.
gotreportviewer.com have all the info (look for Generate RDLC dynamically - Matrix in the right column)
Can anyone recommend a free asp.net control that I can use for the following:
Weekdays Monday-Saturday along the top row
Time of day along left hand side
Template fields for the actual data
Databindable
Cells span the rows based on the start time and end time
Here is a control that I found that is pretty good, but I am trying to find alternatives:
Databound Schedule controls
DayPilot is a pretty good general purpose calendaring/schedule control.
The full version is not free, but there is a "lite" version available which is not only free but open source!