I am pretty new with MDX so please bear with me.
I am designing an analytical chart with PerformancePoint in which the bottom(X) axis will display a date range. The displayed date range will depend on the selected value of the date filter, which is based on the DATE dimension with this hierarchy: Year>Quarter>Month.
Let's say the user selects 2010 from the date filter. We want the query to return the last 4 years prior to the 2010 (2007,2008,2009,2010). If Q1-10 is selected, we want the last 4 quarters including Q1-10. If a month is selected (Sept 2010), we want the last 4 months (June 2010, July 2010, Aug 2010, Sept 2010).
I appreciate any kind of help.
Use the LastPeriods function:
LastPeriods(4, <<UniqueName>>)
Related
I am trying to add a column to my data set that has a custom week number based on a specific start date.
For example, lets say that that a product launched Thursday September 6, and I want to measure signups by week. In this case, I would want September 6 - September 12 to be Week 1, September 13 - 19 as week 2, etc.
The two options I have found are using the datefirst function and creating a custom calendar table, but which of these would be easier to implement and more efficient?
Thanks!
Much better if you use date first - date end so that the users can also understand it easily.
I am on this project that I need to filter out all the months with year in the date column. For example, all the January 2017 dates are filtered out and copy to new sheet, all February 2017 dates are filtered out and copy to new sheet, and so on. Is it possible in VBA? I don't have code yet. Thank you in advance.
I have created a graph to show 6 months moving average column for last 13 months
Now users want to drill on these 6MMAs for last 6 months data contributed to that moving average.
Say , for Mar 2016 the contributing months are 10/2015, 11/2015, 12/2015, 01/2016, 02/2016 and 03/2016.
So when user clicks on Mar 2016 data point they should see all contributing projects for that month i.e. 10/2015, 11/2015, 12/2015, 01/2016, 02/2016 and 03/2016.
For Feb 2016 the contributing months are 09/2015, 10/2015, 11/2015, 12/2015, 01/2016 and 02/2016.
So when user clicks on Feb 2016 data point they should see all contributing projects for that month i.e. 09/2015, 10/2015, 11/2015, 12/2015, 01/2016 and 02/2016.
And so on..
How can I achieve this?
Create one more analysis which will show data for all months/year.
And create a drill down from your master report which will be navigated to the detail report .
Also on what column basis you want to display your detail report ,give "column as prompted " there.It will be like "Master-Detail" analysis.
So when you will click on master report,that value will be passed as a parameter to detail report through "is prompted".And required value will be displayed.
PFB the link for detail explanation.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1113/actionframework/actionframework.htm
Hope it is helpful.
you can try a work around.write a formula in your month column in your detail report. --Extract year from the presentation variable and month should be latest value of the month column and (month-5).Try with this. Try to create the detail report which will basically show the last 5 months data.and pass the variable accordingly. – mona16 12 mins ago
try some thing like this in your date column in detail report. use filter on you date column Time.Date <= cast(current_date as date) and Time.Date >= TIMESTAMPADD(SQL_TSI_MONTH, -3, TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( CURRENT_DATE) * -(1) + 1, CURRENT_DATE))
I am very new to Sharepoint. I am working on a resource utilization list in Sharepoint , which helps managers keep a tab on utilization of their resources for each month . My list therefore has 12 columns for each month of the year. I want to create a view where in only the future 5 months from the current month are displayed. Therefore for example if the current month is August, I want only August,September,October,November and December columns to be displayed and the other month columns hidden.
In SSRS 2005, I need to provide a drop down to the user with month year labels for the last two months.
For e.g. Jan 2010, Feb 2010, ... , Jan 2011, .... Dec 2011
I need this dynamically for the last two years (say).
Additionally, as user select one of the label, I need to pass the last date of the selected month-year combination to the query parameter.
Please help!
Sijoy
Assuming you are reporting from a SQL datasource, create a new dataset with a query to return the last date of each month within the required range (ie. the last two months) and the month-year description of each month - the details of the query will vary depending on the SQL database (MySQL, SQLServer, Oracle, etc). Populate the parameter from this new dataset, and set the value to be the date field and the label to be the description field.