Need a measure variable based on dimension

Dear Experts,
I  need a variable based on dimension.This should gives the values from 1 to n based on dimension.
Suppose i have a column "Wage type".If it has 10 rows,Then for first one it should be 1 and second one it should be 2 and so on.I want to implement break for this dimension,even though the variable should give same values as i mentioned above.
I try to use RowIndex and Count functions.But i couldnt get my requirement.
I want to use this values in Xcelsius.
I hope you can understand issue.
Regards
Venkat
Edited by: Venkat8130 on Jun 23, 2011 7:24 AM

Hi,
I worked on the same issue, in my case result in following format
year........count...month......revenue
2001........ 1........ jan............100
.................2.........feb............200
.................3......... mar...........300
.................4......... apr............400
2002.........1...........jan..........500
.................2..........feb...........600
.................3..........mar..........700
If you are expecting the same format, first break the report deportment wise. Create the variable count with bellow formula.
=RunningCount([Month];Break)
Regards,
Shahin.
Edited by: shahin13 on Jul 19, 2011 8:58 AM
Edited by: shahin13 on Jul 19, 2011 9:04 AM

Similar Messages

  • In SSRS, aggregate measure based on dimension value

    I am writing an SSRS 2012 report whose data source is an SSAS cube. In one table of this report, I am using a very simple data set with one dimension (Category) and one measure (Sales). The dimension has 4 members, A B C D. For the purposes of this
    report table, I want to show the sum of sales for A, the sum of sales for C, and the sum of sales for B and D combined. I then want to show each of these 3 values as a percent of the total (sum of A B C D).
    The data set looks like this:
    CATEGORY   SALES
    A                10000
    B                14000
    C                 8000
    D                 8000
    The resulting report table should look like this:
    CATEGORY SALES % OF TOTAL
    A                10,000      25.0
    B+D            22,000      55.0
    C                 8,000       20.0
    TOTAL         40,000

    Hi ,
    As you mentioned you need such aggregation in SSRS and you are using SSAS datasource.
    so you can achieve this using MDX Query.
    I have done this in my environment . I took below for achieving this
    Dimension : Category
    Relationship : There should be Facttable relationship with Dimension table Category.
    Measure : Unit Price (in your case sale)
    Please find below solution using MDX Query.
    Please share if you have any doubt.
    Thanks

  • Simple in line frequency counter? Need to measure 48hz variable resistor

    Confused.
    Been searching all day. Is there a simple way to measure if I've correctly adjusted a variable resistor from 50hz to 48hz?
    Below is the email to me from Russia, explaining how to adjust the variable resistor.
    This is variable resistor adjust a speed of motor.
    But, you need frequency measuring device for check a value of speed.
    You can connect measuring device to Pilot signal socket .
    50 hz signal = 25 fps.
    48 Hz signal = 24 fps.
    Other idea, you can take frequency from resistor R6 on PCb.
    25 fps = 500 Hz
    24 fps = 480 Hz.
    Attachments:
    image005.jpg ‏23 KB

    Hi Djwerk,
    This question might be better answered in the specific hardware forums if you are using an NI Data Acquisition Device or in the LabVIEW forums if this is strictly a software question. Could you give me some more information about the harware you are using/want to use to make this measurement?
    As a general solution, you could use a multimeter to simply measure the resistance as you change it. If you are applying a known current, you could measure the voltage across the resistor and calculate the resistance. If you want to directly measure the frequency, you could input an analog voltage signal into a DAQ card and use a Fast Fourier Transform in software to calculate the frequency of the signal.
    Zach P.
    Product Support Engineer | LabVIEW R&D | National Instruments

  • Need help with configuring setup cost as variable based on quantity

    Hello,
    I am brand new to PP and my client has inquiry as to how they can make the setup costs variable based on the production quantity. They already have the machine and labor working correctly, so I compared the formulas for machine and labor time with that of the formula for setup time and they are not the same (in fact, setup time does not have any formula). Do I simply need to create a formula for this or are there multiple other steps? If anyone can give instruction on how to set this up it would be of great help.
    Thanks,
    MH

    Check in the Work Center, tab Costing where Setup Time should have a formula using operation quantity / base quantity as ratio.
    Setup time should be included as parameter in the standard value key.
    The formula in the Capacity Tab would have only effect on the capacity evaluation, but no costs impact.
    Edited by: Dario on Feb 2, 2011 7:04 PM

  • OBI EE 10g: Bridge tables and Based on Dimensions Aggregation

    hi experts,
    i am working on OBI EE 10 g (10.1.3.4)
    The BM&M layer consist of:
    1) Logical fact table "Sale_Indicators"
    Fields: SALE_ID (PK, FK),
    D1_ID (FK),
    D2_ID (FK),
    Indicator1 (measure, level of granularity: SALE_ID),
    Indicator2 (measure, level of granularity: SALE_ID),
    Indicator3 (measure, level of granularity: SALE_ID)
    2) Logical dimension table
    "Sales" (PK: SALE_ID),
    "D1" (PK: D1_ID),
    "D2" (PK: D2_ID),
    "Customers" (PK: SALE_ID, CUST_ID) - bridge table!
    "Products" (PK: SALE_ID, PROD_ID) - bridge table!
    3) Dimensions: SalesDim, D1Dim, D2Dim, CustomersDim, ProductsDim
    If fact table is joined with bridge table, the number of rows in fact table is multiplied, for example:
    D1_ID | SALE_ID | CUST_ID | Indicator1
    777 | 1 | 14 | 10
    777 | 1 | 17 | 10
    777 | 2 | 15 | 12
    888 | 3 | 16 | 20
    888 | 3 | 17 | 20
    888 | 4 | 19 | 30
    I need to get report:
    D1_ID | Indicator1 (SUM)
    777 | 22
    888 | 50
    and with filter by customer, for example (CUST_ID = 17):
    D1_ID | Indicator1 (SUM)
    777 | 10
    888 | 20
    i am trying to use "based on dimension" aggregation, for example (Indicator1):
    Dimension Formula
    CustomersDim MIN
    ProductsDim MIN
    Others SUM
    The generated physical SQL performs joining EVERY dimension to the fact table, even though they are not included in the final result set.
    Is there any way to tweak logical or physical model in order to eliminate excessive joins?
    Thanks in advance!
    Edited by: 859688 on 31.10.2011 4:04
    Edited by: 859688 on 31.10.2011 4:06
    Edited by: 859688 on 31.10.2011 4:08

    I found this text on the help, but I didn't understand, because when I check the "based on dimensions" check box, I can choose aggregation rules for each dimension, not only the time dimension.
    Also, I found in the help menu:
    "In the Aggregation tab, select the Based on dimensions check box.
    The Browse dialog box automatically opens.
    In the Browse dialog box, click New, select a dimension over which you want to aggregate, and then click OK.
    In the Aggregation tab, from the Formula drop-down list, select a rule."
    I did the same steps suggested by the text above, but it didn't work.

  • Having to recreate all detail variables to measure variables

    Why am I having to recreate all my variables to a measure variable in order for them to show in my table? (New to WEBI)

    I assume you have multiple queries in your report. Have you merged common dimensions between your two queries? If you merge on enough common objects you should be able to use other objects from you queries with each other.
    However you may still get synchronisation errors, if so you will need to do what you are doing and create them as measures, or define them as a detail of a merged dimension.

  • How to get the current month for a variable based on info object 0FISCPER3

    Hie Gurus
    I am working on the financial reports i am failing to derive the Current month from the variable based on infobject 0FISCPER3 PERIOD .
    I would also like to get the same month from the prevoius year. Any ideas?

    If I understood correctly, you need in your repot
    Current Month Plan This year || YTD Plan This Year || Current Month Plan Last Year || YTD Plan Last Year
    Your variable 0I_FISCPER3 must be on the object 0FISCPER3 which is nothing but just the Fiscal Period. This variable is a user entry mandatory Interval variable.
    if you are entering a range in the input screen for this variable, you will get cumulative values. If you just need to get the value for a month in first column your report, you will have to create another variable of type Customer Exit which will read the "To value" entered for the variable 0I_FISCPER3 and columns for Current Month should be restricted on this variable.
    if you are entering a single value in the selection screen of this variable, current month column should be restricted on this variable with "Equal To" operation and YTD colmns should be restricted to "Less Than Equal to" operator with this variable.
    0FISCPER3 just have posting period and not year, so you will have to use varialbes for 0FISCYEAR separately.
    Please let us know if it helps or if you are using some other variable based on 0FISCPER3 or 0FISCPER.
    Regards,
    Gaurav

  • Restriction of f4 help of a bex variable based on another variable input

    Hi,
    Could you please let me know if there is any possibility to restriction of f4 help of a bex variable based on another variable input.
    eg: when i select particular company code in one variable, i need to restrict the f4 help for another variables eg: pur. group based on selected company code.
    Regards
    Kasi

    Hi,
    Try using replacement path option in bex with replace variable with variable selction.
    Thanks.

  • Logical column - Aggregation - based on dimensions

    Hi,
    Can anyone explain the working of the aggregation based on dimension functionality. I understand it is different from level - based measures.
    Thanks in advance.
    - Priti

    Hi priti,
    Aggregation based on dimension .
    Hav a look at this you get an idea http://gerardnico.com/wiki/dat/obiee/measure_level_based
    UPDATED POST
    Sorry i gave you the wrong link.This is what your looking for
    http://gerardnico.com/wiki/dat/obiee/aggregation_based_on_dimension
    follow this etiquette as your new http://forums.oracle.com/forums/ann.jspa?annID=939
    Cheers,
    KK
    Edited by: Kranthi on Feb 24, 2011 12:20 AM

  • Measure divided by Detail in a Measure Variable

    Hey Guys,
    I have a measure variable in WEBI report. When i use variable in a table, i get a #Multivalue error in some of the cells.
    When i saw the formula for the measure variable, it was something like this.
    Variable_Name=Round(([Measure Object]/[Detail Object]);2)
    I was thinking whether this formula is right logically. I think we cannot divide a Detail object or vice versa.
    Please share your thoughts on this and the error also.
    BOXI R3.1
    SQL Server
    Thanks
    Shreyas

    A detail has an assumed 1:1 relationship with its owning dimension. If someone has ignored this rule and tried to get round a merged dimension which they logically shouldn't then you'll be stuck with it.
    Measure/Measure is the logical option
    Measure/Dimension is fine too. Such a scenario would be Total Sales/Unit Price to get Quantity (not that you'd do that, you'd bring Quantity in from the query but it can be done.
    The definition of the detail would be useful in this instance together with understanding which queries are from which query and how you get get your solution.

  • How to determine the length of variable based on the character contents

    Hi Experts,
    I need to determine the length of variable based on the character contents I am looking for.
    Example;
        lv = 'FENCE - Construction bond'
    Where I need to know the exact field length of 'FENCE -'.
    It's possible that variable will have different values in different lengths.
    Thanks.
    Kath

    Kathy Amion  ,
    hello Will you please elaborate ...!
    The suggestion for your proble as i understood it is you will have to split the string at seperator '-' in two say variable name and conten. and then  you will calculate the length of the VARIable name by using string function.

  • Aggreation Based on Dimensions - Aggregation rule: Evaluate_Aggr

    Hello Experts,
    Can any of you explain to me how do you use the Logical Column Aggregation based on dimensions?. If you can set up a simple example would be great. Also, what is the definition of the aggregation rule : Evaluate_Aggr?, please give a simple example
    Thanks for your time
    Pablo.

    And it's not the same than a level based measure :
    The definition of a level based measure :
    http://gerardnico.com/wiki/dat/obiee/bi_server/design/fact_table/level_based_measure_calculations
    An example with evaluate (lag analytic function)
    http://gerardnico.com/wiki/dat/obiee/presentation_service/obiee_period_to_period_lag_lead_function
    Check the two and you will see the difference in the definition.

  • Based on Dimension Aggregation method - OBIEE 11G

    Hi,
    I have a fact table with one measure value and 3 dimensions (Time, Issue, status). Fact table is loaded monthly data for different issues and with status and a corresponding value.
    I want my report to show always issues that is latest of that period and then status of the same.
    Lets say:
    Fact table has data like this:
    31/Jan/2011 - Issue1 - Open - 10
    28/Feb/2011 - Issue1 - WIP - 20
    31/Mar/2011 - Issue1 - WIP - 30
    30/Apr/2011 - Issue1 -WIP - 40
    31/May/2011 - Issue1 -Closed - 50
    31/May/2011 - Issue2 -Open - 60
    31/May/2011 - Issue3 - Open - 20
    Now I want to see the report by status and value and it should show me the latest of that time period.
    For Quarter1 :
    WIP - 30
    For Quarter2:
    Open - 80
    Closed - 50
    If I take Year then it should show me :
    2011 - Open - 80
    2011 - Closed - 50
    I tried using aggregation "Based on dimension" option in BMM layer and put Others - Sum() and LAST against time dimension.
    But in that case it is giving me the results by status what is latest for the time period. So it is ding sum by other dimension first and then applying LAST method.
    In that case result of Quarter -1 will be :
    Open - 10
    WIP - 30
    If I can change the order of aggregation method like first apply LAST method and then do sum then I think desired result will come. But I am not able to change the order.
    Is there any other of doing this solution?
    Any help is highly appreciated.
    Thanks

    Hi,
    There will be multiple records for an entire month as there are many issues. For a particular Issue it will be one with one particular status for a particular month.
    The join is based on the date colum of fact table and the dimension table.
    Regards,
    SS

  • Manipulating custom measure variable inside a line chart

    Hie Guys,
    I have a line chart in my report that contains 2 custom measure variables & 1 measure object from the Universe in the Y axis and one dimension object - "Month" in the X axis.
    Formula for the custom measure variables are - 
    If [Month] = "Jan" Then 45
    ElseIf [Month] = "Feb" Then 65
    ElseIf [Month] = "Mar" Then 88
    And so on..........
    Now, I have an input control in the report for "Project Type" (Development & Improvement)
    I want the chart to behave as described  below.
    If (Project Type = "Development") Then only display measure object 1 in the chart
    If (Project Type = "Improvement") Then only display measure object 2 in the chart.
    Right now, the input controls are displaying all measure objects in the chart when I click on them.
    Is there a way I can get the above mentioned functionality in my report? I am using Business Objects 4.0  SP6.
    Could anyone please help me solve the problem? Thanks.

    Hi,
    Add Two Line Charts in Report one with [Measure Object 1]
    & another with [Measure Object 2] .
    Now Create Variable for User Selection .
    Selection = ReportFilter([Project Type])
    Now in Hide When Property of chart (Right Click on Chart --> Format Chart )

  • Based on dimension aggregation

    I have a fact table with 2 sources. One of these sources has only one measure and I am having problems with it.
    This measure must use based on dimension aggregation, but it don't work. When I set this option, the measure shows a blank value in Answers, but when I switch to a default aggregation rule (not based on dimension), like sum or max, the value is shown correctly in Answers.
    My doubt is: is it necessary any other configuration on dimensions or fact tables in order to use based on dimensions aggregation? I just change the value in the aggregation tab of the measure, is there any other step necessary?
    Thanks

    I found this text on the help, but I didn't understand, because when I check the "based on dimensions" check box, I can choose aggregation rules for each dimension, not only the time dimension.
    Also, I found in the help menu:
    "In the Aggregation tab, select the Based on dimensions check box.
    The Browse dialog box automatically opens.
    In the Browse dialog box, click New, select a dimension over which you want to aggregate, and then click OK.
    In the Aggregation tab, from the Formula drop-down list, select a rule."
    I did the same steps suggested by the text above, but it didn't work.

Maybe you are looking for

  • My dvd slot for imac10,1 does not work. It rejects the disc. Problem after reinstall of backup from hdd.

    My dvd slot for imac10,1 does not work. I had a new harddrive installed in November and the MacStore installed my backups from an external harddrive. I do not use it other than to upload programs, so I have not tried using it until tax season, but it

  • How to keep the original sequence of a map

    I want the equivalent of a Hashtable or Map class (I need keys and corresponding objects) which, once fully populated, will guarantee to get the key/object pairs back out using the order in which they were added, rather than by sort order of the keys

  • How do I save a file to a server using flex and coldfusion?

    How do I save a file to a server using flex and coldfusion? On the CF side I might need to use this: <cffile action="UPLOAD" filefield="Filedata" destination="#expandpath('..\somepath)#" nameconflict="overwrite"> And on the flex side I might need to

  • Cannot print crop marks in Adobe Reader 9.4.2, 10.1

    Printing from an A4 pdf to A3. Using a full version of Adobe 7 or 9.42. the crop marks appear but using Adobe Reader 9.4.2 and up no crop marks appear. Show art, trim, & bleed boxes is ticked. Does Adobe Reader print these marks? Thanks in advance.

  • ITunes Error 42408 tide to java?

    With Apple getting hit by hacker through java I shut down my java in Safari preferences. The next time I open iTunes I got the 42408 error. thinking to only thing that change to my system was the shutting off java, I turned it back on. Open iTunes ag