KPI goal from dimension - how to do?

Hi all
In my SQL Server database, I have a table "TESTS" that contains a numeric value "DURATION". This table is linked to a "dictionary" table "DICT_TESTS" (FK is an ID), and in this dictionary table, I have a duration objective
(column DURATIONGOAL).
In my cube, I have created a measure on TESTS.DURATION to have average for duration value. I also have a dimension on "DICT_TESTS" table.
I want to create a KPI that indicate if each average found in TESTS measure is upper, lower or equal to goal defined in DICT_TESTS dimension. I try several example found on web, but with no success.
Is it possible to have a goal coming from a dimension or must I define another measure to manage it?
Thanks in advance for you help
Drouhne66

Hi D,
You can use attributes of the dimension in your calculation.  If I understand you correctly, you want something like
CASE
When Measures.MyMeasure > DICT_TESTS.DICT_TESTS.Properties("durationgoal",
typed) Then "upper"
When
Measures.MyMeasure = DICT_TESTS.DICT_TESTS.Properties("durationgoal", typed) Then "equal"
When
Measures.MyMeasure < DICT_TESTS.DICT_TESTS.Properties("durationgoal", typed) Then "lower"
Else "we shouldn't be here"
END
Note, this will only work when the tuple is on one particular Dict_tests.  You could put a check in front for this using the .level function.
Hope that helps,
When () > DICT_TESTS.DICT_TESTS.Properties("durationgoal",
typed) Then "upper"
When () > DICT_TESTS.DICT_TESTS.Properties("durationgoal",
typed) Then "upper"
When () > DICT_TESTS.DICT_TESTS.Properties("durationgoal",
typed) Then "upper"
Richard

Similar Messages

  • Problem loading goals from E & A with Excel, column stays locked by default

    Hi
    When trying to enter the E & A data from excel, Target column is blocked, which prevented from entering the goals of the KPI's from excel, how do I enter the goals of the KPI's massively from excel?
    I did a test by entering a KPI (Actual - Target) from E & A and from the entry screen of the tool works perfectly, but when I enter the data from Excel the only column entitled to enter data is current and target remains locked and when unlocked from excel and I save data, it displays a message successfully, but this does not save data entered in the target column.
    What I can do to enable the Target column from excel to enter the goals of the KPI's?
    Any information you can give me will be highly appreciated.
    Regards,
    David

    Hi David,
    On your first post you mentioned that you were able to load the actual while the target column was grayed out, that usually happens when you use the "Historical Data" button instead of the "Target Data" button (I mention this because the Actual column would be disabled when using the "Target Data" option).
    I would suggest double checking that you have both measures (xxx-Actual and xxx-Target) included in the same metric set, then checking that the option to "Input Future Data (Target)" is checked on the "Set Entry and Approval Defaults" section and after that try using the Target Data button to load some target numbers.
    I hope this helps.
    Hector

  • [ASK] Get One Row of Property Value From Dimension in Script Logic

    Hello, i need help about how to get one row of property value from dimension in script logic.
    Let say there is CATEGORY dimension and the members are like this :
    ID                                                  YEAR   Status
    PLAN_2011                                   2011        A
    PLAN_2011_V1                            2011        I
    ACTUAL_2011                              2011        I
    FORECAST_2011                         2011        I
    FORECAST_2011_V1                  2011        A
    PLAN_2012                                  2012        A
    PLAN_2012_V1                           2012        I
    ACTUAL_2012                             2012        I
    FORECAST_2012                         2012        I
    FORECAST_2012_V1                  2012        A
    If i scope CATEGORY like this :
    *XDIM_MEMBERSET CATEGORY = [CATEGORY].PROPERTIES("YEAR") = "2011"
    Then i will get member scope like this :
    PLAN_2011                                   2011        A
    PLAN_2011_V1                            2011        I
    ACTUAL_2011                              2011        I
    FORECAST_2011                         2011        I
    FORECAST_2011_V1                  2011        A
    Question :
    In script logic, how can i read the second record of scope and move it to variable ?
    Ex. : I read second record, so i can get the data of second record (PLAN_2011_V1, 2011, A).
    Is there any function to read all record that had been scope ? So i can read all those 5 records.
    Is there any substring or offset function in script logic ? How to use it ?
    Thank you.

    Hi,
    Firstly, when we scope the logic, it doesnt fetch the entire record from the member sheet. It just fetches the ID.
    Secondly, we dont have the feasibility to read only the second ID and skip the others. However, one alternative is that you use the SELECT statement to store all the IDs in a variable, and then use a FOR loop. But this will loop through all the 5 IDs, as per your example. If you want to skip all the IDs except one, you should maintain some property, so that all the IDs are neglected which doesnt have a particular property value.
    Hope you got the idea.

  • Objective Setting & Appraisal: Importing Goals from Excel

    Hi,
    We are implementing OSA in SAP HCM. We have to import the Goals from Legacy application (available in excel)
    Is there any provision to import in HRHAP* tables.  There are around 2000 employees, whose goals need to be imported into HCM.
    If you have any other solutions, please let me know,
    Regards,
    Vijay Badgeri

    Dear Shubham,
    Please correct me if my understanding is wrong.
    1. Create an Object Tasks for Goals (PP01)
    2. Create Relationships (A007) between Task and Employee Number (We are not using Position as tasks are specific to persons, and few employees have multiple positions assigned.)
    How do I define Objectives ? Since I cannot load them as individual tasks, Do I need to create a custom infotype to load the Goals and load them thru LSMW?
    For your understanding the flow is as under:
    The Goal template has following field (Available in one Excel for all employees)
    1. Perspective (Financial / Customer / Process / Learning)
    2. Objective
    3. Weightage
    4. Unit
    5. Unit of Measurement
    Following fields get added to Appraisal document...
    6. Achievment
    7. Comments
    8. Appraiser Rating
    9. Raviewer1 Rating
    10. Reviewer2 Rating
    The document flow is as follows:
    The Appraisal Hierarchy is as follows
    1. Appraisee -> Appraiser
    2. Appraisee -> Appraiser -> Reviewer 1
    3. Appraisee -> Appraiser -> Reviewer 1 -> Reviewer 2
    Employee based on the inputs received from his superior defines the Goals for the FY
    It is validated by his appraiser (and reviewers as applicable)
    On approval by all relevant Appraiser/Reviewers, goals are visible to Appraisee
    There are no standard template available, the number of unique objectives will be very high. Each employee is having minimum of 8 objectives, maximum can be 25.
    How do I go about ?
    Thanks in Advance,
    Vijay

  • Load data from dimensions to fact table

    Hi,
    I have 10 dimension tables and one fact table. now i want to load data in to fact table from dimensions table. how i can do that.
    Regards,
    joy

    To elaborate on "Mallee"'s answer, it's not good practice to load dimensional data into a fact table.
    I guess what you mean is how to refer to dimensions when loading a fact table.
    Simply refer to dimensions using lookups on the necessary dimensions, the lookup needs to be on the natural key you have that links facts to dimensions. Don't forget to use the dimension's surrogate key though when populating the fact table's foreign key columns pointing at the dimensions.
    Hope this helps.
    Cheers, Patrick

  • Delete from dimension

    Hello All,
    I need to compare my dimesnion to the fact tables that use this dimension and delete all the rows in the dimension with the Sks that are not being used on the fact tables.
    I wrote a query to get all the Sks that are not being used. Now how can I feed the output of this query to the delete statement.
    So i want to delete from dimension where Sk = result of the query.
    Any ideas of a good way of doing this ?

    zooz -
    This may help: Create a staging table that joins your fact table with your dimension or lookup table - thereby eliminating all values not in your fact table. Populate your dimension table(s) from the staging table. Truncate staging table.
    We join to most of our fact tables early in our OWB mappings to solve this problem.
    Good Luck
    TXB

  • Custom category Hierarchy setting  Deleted from dimension (0XAEWCCAT)

    Hi
    Custom category Hierarchy setting  Deleted from dimension (0XAEWCCAT) i am unable to find the hierarchy option  Data source administration in Production, all my category reports doesnu2019t  show hierarchy. In RSRT the hierarchy is fine.
    Any idea how do we get the setting back,
    I know front end content transport  from Dev will help, but we are working on some developments and donu2019t prefer transport at the moment.
    Regards,
    Mahesh

    If I look at the available parameters in the helpfile 2 things are strange in my opinion:
    1)the parameter is called approvalstatusmsg, approval status was the V4 naming convention of the function, right now it is called workstatus, so it might be a V4 function. Never used it myself but maybe it is something not correctly migrated to v5.
    2) Even if it is working in V5, which I don't know for sure, then it is strange that you only have variables for Categroy, time and entity, since you can setup the workstatus for more then these 3 dimensions in V5 which you would also like to have in a case you set it up for more then 3 dimensions. For example for if you want to use Category,time,Entity & Product dimension in the workstatus, you would also like to inform the people which product is updated, since only just category,time and entity won't say that much.
    So I think you best check with support if this function is still usable in V5 or if it is an old function from V4. and if it is working in V5, how do you get the right parameters in the variables when you setup workstatus for other dimensions then just Category/time/Entity.
    I would like to know the results!
    Joost

  • Apple loops for garageband pack doesn't show the folder content (loops, files...)  in ableton live suite 8 library browser, but I can see all the loops in the folder from finder. how can i fix this? help please.

    apple loops for garageband pack doesn't show the folder content (loops, files...)  in ableton live suite 8 library browser, but I can see all the loops in the folder from finder. how can i fix this? help please.

    Thanks Barney, I tried that but all that comes up in Spotlight are the log files that show the file paths! I don't know how Steam works. Are all the files held by Steam on their server perhaps?

  • My daughter and I both have iPhones when I send a picture airdrop to my friend it says it's from her .how do I fix this

    My daughter and I both have iPhones when I send a picture airdrop to my friend it says it's from her .how do I fix this

    Apple is having server issues, they hope to have it resolved in 24 hours.

  • HT4623 I have a Gen 4 Ipod Touch, it is still running with IOS 4. When i go to my settings and select General there is no Software Update button to choose from. How do i update my Ipod to the new IOS system?

    I have a Gen 4 Ipod Touch, it is still running with IOS 4. When i go to my settings and select <General> there is no <Software Update> button to choose from. How do i update my Ipod to the new IOS system?

    You have to hook it up to a computer and update it to ios 5 and then there will be a "software update" button.

  • I have very thin, colored lines running vertical on my desktop monitor screen.  I don't know where they come from or how to get rid of them.  I started with one and now have three.  Can anyone give me some insight about what to do in getting rid of them?

    I have very thin, colored lines that have shown up on my IMac monitor screen.  I don't know where they came from or how to get rid of them.  I'm concerned now because I started with one and now have three.  Does any know why this occurs or how to get rid of them?

    I got an address from Applecare, although I can't place my hand on it right now. I didn't bother persuing the letter route myself as I didn't expect much. I know that the location was Cork, Ireland though as that where the UK Applecare is based as far as I'm aware. The best thing to do is to call Applecare (if it's free) and discuss the issue. State that you are not happy wit the fact that you will have to pay to have the problem resolved especiiay if it is an ongoing problem that has not been resolved. I ended up speaking to a senior manager of the Applecare team who then proceeded to tell me about mailing in my grievence to customer services division or something like that.
    If I can find the address I may post it if I'm allowed.
    In the case of age, Schools usually have a 5-year life-cycle as they tend to be used differently than consumer machines, i.e. being used constantly on a daily basis for at least 12 hours with no break. you would expect issues to appear after a few years, but I expect problems that arise through defects to be resolved and stay resolved. As I mentioned we had machines for around 2 years before the lines appeared and sent them to be repaired. I'm happy with that. What I am unhappy about is the fact that the problem has reappeared exactly in the same way and now I'm left with around 7 machines that I either pay loads to repair or, the more likely replace the machines with newer ones since the age is now big enough to warrant the replacement.
    Sorry for the lengthy moan, but these are the reasons I purchased Apple ahrdware in the first place to avoid the "not our problem" stance some PC vendors  usually take, similar to the Dell monitors thread mentioned in here somewhere.

  • I have purchased some music from iTunes, how can I play it on my ipod shuffle

    I have purchased some music from iTunes, how do I get it on to my ipod shuffle

    Make sure your computer is authorized to play the music you purchased on your computer (Store > Authorize this computer)

  • I receive numerous messages in "Bulk Mail". Where do they come from and how can I prevent them from being received? Thanks

    I receive numerous messages in "Bulk Mail". Where do they come from and how can I prevent them from being received? Thanks

    Once you're on a spammer's list, there's nothing you can do to stop the flood of e-mail messages. You can either control it, using spam filtering (which is what files those messages in the Junk Mail folder), or you can throw out your e-mail address and get a new one.
    It's sad, but spam is simply a fact of life at this point, and there's nothing to be done about it. Legislation has been tried, with zero success, since most spam either comes from countries with no legislation or from personal computers that have been infected with malware and are part of a "botnet."

  • HT204370 If I order a HD movie from Itunes, how do I get it to play on a projector?

    If I order a HD movie from Itunes, how do I get it to play on a projector?

    Select Sync Movies under the Movies tab for your iPhone sync preferences with iTunes. Select the movie below followed by a sync.

  • I don´t get the option in itunes to import photos from iphoto, how can I get my photos in my ipad?

    I don´t get the option in itunes to import photos from iphoto, how can I get my photos in my ipad?

    So you don't see this and you cannot navigate to it when you select Choose Folder from there drop down menu?

Maybe you are looking for

  • Saxophone sounds

    I am looking for some feedback/recommendations for good saxophone sounds for Logic. I am currently doing arrangements for a saxophone ensemble and need to produce good quality demos. The sounds that come with Logic are not very good. Can someone poin

  • Deployment problem.

    What I did wrong? This is a fusion web application, works fine in IDE, but I cannot deploy it. ---- Deployment started. ---- Oct 19, 2008 10:29:54 AM Target platform is (Weblogic 10.3). Running dependency analysis... Building... 2008-10-19 10:31:25.5

  • What To Do With An .img File?

    My Cisco rep provided a download of a .img file for the 5.x version of the Cisco VPN client, but I can't do anything with it. My CD/DVD burning app won't handle a .img file and, when I changed the extension to .iso as recommended in several non-Cisco

  • Default currency for a Shopping Cart

    Hi All, We are using SRM 3.0, EBP 4.0 ECS. We need a currency (say USD) to be populated as default while creating a special request Shopping Cart. We have maintained the Currency as default in the Org. Structure in the Attributes for Local Currency a

  • IDoc application ack

    hi all; i am sending an IDoc from BPM to SAP with application ack. i am not getting an ack back. do i need to do some setting in SAP do i have to use a seperate adapter to get an ack back