SSRS with calculated dimension members SSAS

Hello everybody,
I have an interesting scenario involving a SSRS report with a matrix connected to a SSAS cube containing calculated dimension members.
One of the parameters is "Reference Week".  Based on that parameter, I need the measures for the previous 5 weeks.
So I created an anchor dimension "Analysis Weeks" with the members "Week -1" to "Week -5".
Everything is working fine.  The only problem is the names of the columns on the report.  
Currently I have "Current Week", "Week -1", etc. as column names, I'd like to show the real dates.
For example, if I choose "2014-02-15" as the reference week, I want the first column to show "2014-02-15" instead of "Current Week". The second would show "2014-02-08" instead of "Week -1", etc.
I tried to get the current column position in the matrix, which I could use the with @ReferenceWeek parameter, but I can't access that property.
Any suggestion?
Thanks

If I understand correctly, your column group is on "Analysis Weeks", is that right? If so just get the value of that field and use it to get the dates.
=DateAdd("d",-1*CInt(Right(Fields!AnalysisWeeks.Value,1))*7,Fields!ReferenceWeek.Value)
"You will find a fortune, though it will not be the one you seek." -
Blind Seer, O Brother Where Art Thou
Please Mark posts as answers or helpful so that others may find the fortune they seek.

Similar Messages

  • Having issues with calculated dimension

    Hi,
    I just downloaded1.15 version of desktop Lumira and was trying to create a calculated dimension from and existing (but hidden) dimesion but Lumira just keeps spinning when I hit save in the formula editor.
    My formula is if {RDTE} > "04/223/2014" and {RDTE} < "05/13/2014" then "P05" else "NA".
    My diemnsion is a character set (ABC) but i also tried the same by converting to Date dimension with the same outcome.
    Anyone else has similar experience. I find the help document lacking in details. Any insights much appreciated...RND

    Hi Rumy
    Not that there should be any excuse for why saving would spin (that is an issue in itself that should be investigated), I recently had to do a similar date comparison and I used the following formula.
    if DateDiffInDays({Deal End Date}, {Deal Plan End Date}) > 0
    then "Delayed"
    else "Closed"
    I have not had a chance to compare if the results would work the same if I compared the two days as you did. Just wanted to share this in case it might be useful.

  • Help with calculated dimension member

    I am trying to create a (custom) dimension member using a simple calculation (subtraction e.g. member1 - member2) in AWM 9.2.0.4 following the example given in the Oracle OLAP DML Reference 10g (using DML). I could not find any articles relating to this for 9i. Although the custom member is easily added to the dimension, I could not populate it with the specified calculation.
    I need to enable the analytic workspace for OLAP API and BI Beans. Can anyone help?

    Hi,
    Use the formula, I have tested by creating Months column with choice, Year column as numeric and Calculated column as DateTime returned.
    =DATE(Year,IF([Months]="January", 1,IF([Months]="February",2,IF([Months]="March",3,IF([Months]="April",4,IF([Months]="May",5,IF([Months]="June",6,IF([Months]="July",7,IF([Months]="August",8,IF([Months]="September",9,IF([Months]="October",10,IF([Months]="November",11,12))))))))))),1)
    Before applying the formula few things need to be noted.
    DATE(YEAR, MONTH,DAY) will accepts three parameters all should be type numeric(integer).
    Create the Year column of type numeric
    Create the calculated column of type "DateTime" to return as date
    Please mark it answered, if your problem resolved or helpful.

  • Not able to delete any Entity Dimension members

    Hi All,
    I am trying to delete some Entity Dimension members but its not allowing me to delete. This problem is only for Entity Dimension.
    I can edit Entity member name or properties successfully but not able to delete or move the position.
    I also tried to check member usage but its not giving me any results, a blank screen comes and planning goes down after some time. Same happens when I try to delete any Entity member.
    I have admin rights on Planning and I can delete other dimension member but not for Entity. There is no workflow started for Entity but If it is than also it pop-ups that after member deletion all planning unit will be lost. I have bounced planning DB and also restarted all Hyperion services but still no luck.
    Please let me know if anyone has faced this issue or have any solution to resolve.
    Regards
    Vishal

    Hi John,
    After uncheck of "enabled for process management" for all Scenario along with Version dimension members , this issue is now resolved. But its a temporary resolution as client has not yet started any workflow so we can uncheck that options ,but when they need to start workflow process then we have to check this options again which will start this issue again.
    Do you have any permamant resolution for this issue?
    Thanks for your help.
    Regards
    Vishal

  • Looking for BPC user contacts with large numbers of dimension members

    I would like to make contact with other BPC users that have multiple dimensions with dimension members in excess of 10K.
    Thanks,
    Cary Schulz
    Newfield Exploration
    281-674-2004

    Hi Helene,
    With 3,000 members you should not be experiencing these problems, if your report is designed properly.
    I'm running BPC 5.1 SP8 on SQL 2005, with a dimension containing 22,000 members. Client PC's are typical (XP, Excel 2007, 1 or 2 gig RAM).
    Using EVDRE and this dimension expanding on the rows, most reports & input schedules can expand & refresh in the range of 10 to 30 seconds.
    The faster times are when I use a row expansion memberset using dimension properties, such as Active="X". The slower times are when the memberset is hierarchy-based, such as BAS.
    If you're using a dynamic template (one using EVEXP for the expansion) then you should start over using EVDRE. It will be much faster, particularly if you optimize your row expansion.
    It's often a good idea to add dimension properties specifically for the purpose of optimizing the report expansion, if the dimension has thousands of members. I sometimes go as far as to add properties which mimic the hierarchy (MyLevel2, MyLevel3, etc) just for this purpose.

  • Essbase export with a "string" appended with all account dimension members

    Hi Everyone ,
    can any one please suggest , how i can do my essbase export with a string appended with all account dimension members.
    i have tried more options but it doesn't looks working. i tried it by report scripts using RENAME function , but it works for 1 member at a time..
    please suggest !
    thanks
    Edited by: Vivek on Jun 19, 2012 6:55 PM

    Hi,
    If you're looking for the ability to append different strings, then you should probably be looking to an external process.
    If you're looking to append the same string, I can think of one way. Make your report script fixed-width (that way you always know which character in the line you're changing) and then utilize the MASK command. (you can find it in the Tech Ref under Report Commands)
    Robert

  • SSRS with DAX - parameters multivalue vs total element

    Hi all,
    I'm using SSRS on top of a SSAS tabular model to create intuitive dashboards for management department.
    One thing I'm struggling with is the lack of a "total" on parameters. What I'm doing is, based on the fact table, I create the datasets that will feed each parameter, so it only has the dimension members available on the fact table. That is fine
    performance wise, you only have 1 element and it renders very quickly.
    For a management perspective at a higher level it is important to view the totals to have the big picture of the information. In my project we are in a University, so I have the parameters Year, school (there are several schools in the university campus)
    and the course (computer sciences, math, statistics, etc).
    At first glance, if I'm a course coordinador I want to pick my course and have a global view, and I'm achiveing that, but imagine now, that I am the school coordinator, or the university coordenator.
    I want to see the aggregate values by all courses or by all schools.
    In my view I have 2 ways to do this and I come from a tradition cubes background:
    1 - I would use the all element the cubes hierarchy have on each attribute
    2 - I would use multivalue parameters with StrToSet (worse performance)
    Using DAX what is your approach?
    Best regards

    Hi AsifMehmood,
    Per my understanding you have create an SSRS report with SharePoint list, now you don’t know to create the distinct parameters by using CAML query,  right?
    For the CAML language doesn’t have any reserved word (or tag) to set this particular filter to remove duplicate results, but we can use the custom code to do this function. I have tested on my local environment and we can do that by create one hidden parameter(Param1)
    to get all the values from the fields which will  add the filter and then create another parameter(Param2) to get the distinct values based on the Param1, we use the custom code to do the deduplication.
    Step by Steps information in below thread for your reference to create the parameters and the custom code:
    "How to get distinct values of sharepoint column using SSRS"
    Other similar thread for your reference:
    https://audministrator.wordpress.com/2014/02/17/sharepoint-list-add-distinct-parameter-value/
    If your problem still exists, please feel free to ask and also try to provide us more details information.
    Regards
    Vicky Liu

  • Attribute calculations dimension is absent while refreshing database in planning app

    Dear All,
    I have loaded two attribute dimensions and a custom dimension called "Program" in my planning application. These attributes has to be associated with the "Program" dimension members". After loading these dimensions I tried to refresh the planning application. But it throws me the following error.
    "Attribute calculations dimension is absent"
    Kindly guide me to overcome this issue.
    SC

    I take that you are using EPMA (the fact that you were able to create an attribute dimension without associating it with a base dimension).
    You'll have to create an association, to attach the attribute to a sparse dimension.
    Creating Dimension Associations
    You can create a property for each attribute (I usually call it as <name of the attribute>_Prop)
    Regards
    Celvin

  • Using intersection of dimension members in a SINGLE column/row name

    I need help understanding how a single row/column name in a report can be populated with an intersection of two different dimension members of an Essbase cube (ASO). For example, suppose I have two dimensions members in my cube - Sales and Qtr1. Now I want to create a single column-name in my Smartview or FR report called "Sales in Qtr1" that would store values for Qtr1->Sales. Also, i want to have a single column name such as (Qtr1->Sales % Qtr2->Sales).
    Is this done via a report script or some other method?
    My report would look as follows:
    Sales in Qtr1 | Sales in Qtr2 | Qtr1 Sales as a percent of Qtr2 Sales
    Region1 100 | 200 | 50%
    Region2 25 | 100 | 25%
    Would appreciate any guidance.
    Thanks.
    Axe

    Getting the data the way you've described is really easy, just nest the dimensions in Excel (or whatever reporting tool), one dimension over the other.
    It's the same for rows as it is columns (okay, in rows instead of columns).
    Essbase is very good about doing asymmetrical reports. Take a look at the DBAG and scroll down for the section labelled "Generating Symmetric Reports" -- the second example shows a asymmetric report.
    Making the label one cell? A bit hard in Excel -- you'd have to create separate retrieve ranges and report ranges or play a game with hiding rows. Very easy indeed in Financial Reports -- you basically hide a row and put whatever custom label you want in the dimension that remains (technically speaking you could hide both rows and do this with a text row -- whatever you prefer -- but I've generally seen this with the former technique.
    Regards,
    Cameron Lackpour

  • Automatic creation of new dimension members

    Hello all,
    Bit of a long post so please bear with me.
    I am about to embark on only my third BPC project after having spent several years implementing solutions using BusinessObjects Planning (formerly SRC software), and am still struggling to come up with an elegant solution to the fact that I cannot save data to dimension elements unless they are already explicitly defined in the dimension member list (presumably due to cube architecture).
    Those of you who have used BOP/SRC will remember this as unvalidated dimensions.
    I find having to first go to admin and pre create members before being able to use an input schedule to save data against them is very restrictive.
    I'm hoping one of you guys can help me improve on the workaround I currently use.
    For example I have a 'bid submission' input schedule that is used by the user to submit bids for increased budget, capital or revenue, capturing basic costs and commentary. The user selects a bid number from a combo box which is populated by using an EVLST formula to read in pre created dimension members. I have to save a flag to the db which I then use to exclude already used numbers when feeding the combo box on future submissions.
    Which works ok but if I have a hierarchy on bid number based on say, cost centre, how do I get around the fact that number ranges have to be pre-assigned to cost centre, Cost Centre A = 1 to 1000, Cost Centre B = 1001 to 2000 etc. What happens if I go over the 1000 on Cost centre A? I then get non contiguous ranges per cost centre.
    Is it possible for the bid number to be dictated by the user when they start to fill in the bid submission? Or give the impression that they are?
    Or if the client has a bid number format that cannot be pre created? Eg incorporating things like year or person etc. This information could be save separately but not within the bid number. Is it possible to save data to dimension property columns from an input schedule?
    Hope you guys can help
    Many thanks
    Phil

    Philip,
    few questions.
    Which versio of BPC.
    What is your data Source
    there are few post on the below link you may find helpful
    Please list your Question in short with the tings you want.
    Re: AdminTask_MakeDim.dts
    Thanks

  • How to auto-update of script logics after adding new dimension members?

    Hi Experts,
    Just wanna ask if BPC has a functionality that would automatically update/validate and save my script logic whenever I add new dimension members. I've added new PL accounts but they are not automatically added to my calculated BS Net Income. I had to re-validate and save my logic for it to be included in my logic and for the amounts to be computed correctly.
    Thanks,
    Marvin

    Hi Marvin,
    There is no functionality as such. we need to configure the script as and when we make any changes in the dimension members.
    Regards
    Raman

  • How to tag attribute member with standard dimension member in EIS

    hi,
    would any one please help me how to tag attribute member with standard dimension member in EIS
    THANK U IN ADVANCE

    In your OLAP model, view columns for the base dimension table. Go into the column properties and for the columns that have Attribute values highlight them and click the Attribute button.
    Go into Metadata Model and those fields will be available to drag into your outline as attribute members.
    Once in the outline, go into the properties of the attribute and assign the level of the base dimension they associate with.

  • In Top 10 with two dimension i need to add others in my MDX query

    Hi this is code working fine and return top 2  product in a  state. i need to add other sales also how can we do
    with set FIPS as [Geography].[State-Province].[State-Province]
    set TCat as
    Generate( {FIPS}, CrossJoin( {[Geography].[State-Province].CurrentMember},
    TOPCount(
             ([Product].[Subcategory].[Subcategory]),
             2,
             [Measures].[Sales Amount]
    SELECT { [Measures].[Sales Amount] } ON COLUMNS,
    TCat  ON ROWS
    FROM [Adventure Works]
    hi fond one code it is work for one dimension only, i need for two dimension
    WITH
    SET [TCat] AS
    TopCount([Product].[Subcategory].[Subcategory],10,[Measures].[Sales Amount])
    MEMBER [Product].[Subcategory].[Other] AS
    Aggregate([Product].[Subcategory].[Subcategory] - TCat)
    SELECT { [Measures].[Sales Amount] } ON COLUMNS,
    TCat + [Other] ON ROWS
    FROM [Adventure Works]

    Hi,
    We will have to generate a set of tuples that includes both dimensions:
    WITH
    SET [Top2] AS
    Generate
    {[Customer].[State-Province].[State-Province].MEMBERS}
    [Customer].[State-Province].CurrentMember
    ,TopCount
    (EXISTING
    [Product].[Subcategory].[Subcategory].MEMBERS)
    ,2
    ,[Measures].[Internet Sales Amount]
    MEMBER [Product].[Subcategory].[All].[top2Aggr] AS
    Aggregate((EXISTING [Top2]))
    MEMBER [Product].[Subcategory].[All].[all Subcat] AS
    [Product].[Subcategory].[All]
    MEMBER [Product].[Subcategory].[All].[others] AS
    Aggregate
    (EXISTING
    [Customer].[State-Province].CurrentMember
    ,[Product].[Subcategory].[Subcategory].MEMBERS
    [Top2])
    SELECT
    {[Measures].[Internet Sales Amount]} ON COLUMNS
    [Customer].[State-Province].[State-Province].MEMBERS
    [Product].[Subcategory].[top2Aggr]
    ,[Product].[Subcategory].[others]
    ,[Product].[Subcategory].[all Subcat]
    } ON ROWS
    FROM [Adventure Works];
    If you plan to tweek this solution, you may want to align the dimensionality of the [all Subcat] member with the others members by changing its definition:
    MEMBER [Product].[Subcategory].[All].[all Subcat] AS
    aggregate(EXISTING
    [Customer].[State-Province].CurrentMember
    ,[Product].[Subcategory].[All]
    The former defintion also works in our case because it's a singleton set and it is put in a tuple when crossjoined with the axis 1 giving it the right dimensionality.
    Philip,

  • Import Comments data and Dimension Members from csv file via Data Manager

    Dear Experts,
    I have two questions regarding the data manager.
    Q1.Is it possible to import "Comments" from the csv file via Data Manager?
    We'd like to import the amount with "Comments".
    My image of csv file is like below;
    ACCOUNT,CATEGORY,TIME,ENTITY,INPUTCURRENCY,AMOUNT,COMMENTS
    1100000,ACTUAL,2010/06,LC,30000,This is comment
    Q2.Is it possible to import the dimension "members" from the csv file via Data Manager?
    We have a user-defined dimension named "Project"
    and would like to import the members, instead of maintaining them in BPC administration manually.
    I found an online help information which says "Import Master Data from a Data File Example",
    but I could not find any relevant sample package for this.
    (I tried to import the members by using "Import" package, but it failed...)
    reference:http://help.sap.com/saphelp_bpc75/helpdata/en/86/8b1bfc12c94fb0b585cca70d6f1b61/content.htm
    Thanks in advance for your help.
    Fumi

    Hi Fumi,
    In this case, I would suggest you to create a customized SSIS package which will fill-in the "Comment<APP>" table, according to the csv file you have. I do not know any standard package that allows you to import comment the way you would like...
    Best Regards,
    Patrick

  • Attribute Dimension members in Planning Data form

    Hi All,
    Can we see Attribute dimension members in Planning data form ? Pls. help

    Yes it is possible in 11.1.1.3, for example in your row select a dimension that has attributes associated with it. select dimension properties next to the down drop.
    Tick "Enable custom attribute display (setting applies to all dimensions with associated attributes): "
    Select the attribute dimension
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • Lightroom 5 - Smart Previews | What's New in Lightroom 5 | Adobe TV

    Learn how to create lightweight, efficient Smart Previews to work with offline images in Lightroom. http://adobe.ly/11rZI6q

  • Scanning photos and Adobe Photoshop Elements 9 system requirements

    Hello all- A long, involved question here, so bear with me. I have a Power Mac G4, still working fine even though it's almost 8 years old. I want to scan a number of photos for use in a Final Cut Pro 5 project. (I have an Epson Workforce 610 all-in-o

  • Robo 8 and DocBook

    Ok who is the expert on converting RoboHelp 8 HTML project to DocBook then using xsltproc and xhtml/docbook.xsl to convert to html files and using the css stylesheet file used for project in RH8 as the styles to be displayed in converted html files.

  • What's with all the updates?

    It seems that every time i launch itunes, i'm told of some new available update? when i first started using itunes + ipod, there didn't seem to be this constant need to drop the latest bits (30 plus megs) on my HD. Am i doing something wrong, or is A

  • Distribute Java jar application in Optical Disk with private JRE

    I am trying to ship my Jar application using DVDs and need the user just to run an exe and launch the program. So I have written a batch file which runs the jar using the private JRE shipped in the same DVD. Now when I run the batch file from the DVD