Question on BIEE Answers

Hi Experts,
I am trying to build data in the physical layer, business model and mapping as well as presentation layer in BIEE 11g.
Now, I have 3 relational tables like this,
1. Account (Parent, Child)
2. Year (Parent, Child)
3. Data (Account, Year, Amount).
So what I did is to firstly do a physical join in the physical layer 1st. After that, I created two logical dimensions using parent-child hierarchies for Account and Year, which essentially produced two additional tables namely AccountDim and YearDim.
Note that in the Business Model and Mapping, I joined Account,Year and Data using FULL OUTER JOIN, since I would like to show those accounts without any entry in the Data table as well.
Now, when it comes to answer, for PIVOT TABLE
1st, I tried to put AccountDim in row, with Amount in Column, it works perfectly well.
http://img638.imageshack.us/i/accountdata.jpg/
Now, I put YearDim instead, it works well too.
http://img146.imageshack.us/i/yeardata.jpg/
Now, I put AccountDim in Row, YearDim and Amount in row, it works too.
http://img198.imageshack.us/i/accountdatayear.jpg/
However, when I tried to put AccountDim and Year in row with amount in column,
It doesnt work, I tried to expand either year or account with no luck.
http://img546.imageshack.us/i/accountyeardata.jpg/
Can anyone try to help me on this?
Thanks !
Regards,
C.W

Within the Business Model and Mapping section make a duplicate of the column you are wanting to count and then double click on the table name under Sources. On the Column Mapping tab find the new columns you duplicated and modify the expression to calculate the number of days. Performing the calculation here will cause it to be resolved against the database which is your quickest option if you don't handle it in the ETL.
Here are the expressions to use...
for the first new column...CASE WHEN TIMESTAMPDIFF(SQL_TSI_DAY, START_DATE, END_DATE) between 1 and 10 THEN 'The column you want to count' END
For the second new metric you would build it the same way and the expression would look like this...
CASE WHEN TIMESTAMPDIFF(SQL_TSI_DAY, START_DATE, END_DATE) between 11 and 20 THEN 'The column you want to count' END
Regards,
Eric.
www.biconsultinggroup.com

Similar Messages

  • I have inadvertently infringe copyright on facebook and they have subsequently barred me from uploading any more videos. The question I need answered is ( and not able to find the answer on any of you help pages).....  Do the following have free copyright

    I have inadvertently infringe copyright on facebook and they have subsequently barred me from uploading any more videos.
    The question I need answered is ( and not able to find the answer on any of you help pages).....
    Do the following have free copyright to publish on facebook and U Tube?
    1.Garage band sounds?
    2.Slide show...Sample music and Theme music?
    3.iMovie...iMovie sounds and iLife sounds ie.Medal Ceremony and Memorial etc?
    I note one can publish to shared net places directly from iMovie so one assumes these are copyright free for non-profit making and non-comercial use.
    It is impossible to contact apple direct.No email address.We put our selves at risk without this knowledge and like applemac, facebook will not communicate direct.Will applemac please take responsibility for copyright/the above that they are all too willing to sell to us but not support us with that knowledge.
    I have Mac OS X Snow Leopard version 10.6.2 (2009 bought in 2010)

    Thank you Klaus1.The large font, I copied and pasted from my mail box.I'm visually impaired...not to a huge degree but it helps to use the large font.I believe you are right about the copyright on the imac stuff but if facebook decide otherwise, you have to reply electronically to their challenge.If you can't provide a reference directly from the copyright owner then they remove the video.I believe this is a programmed response and no human is involved which now makes it impossible for me to get my video uploading restored.They detect added soundtrack automatically and then challenge.There are many others in the same boat and facebook will not communicate.They have various discussion sites on which I have left messages including Mark Zuckerbergs own facebook but I don't think anyone from facebook ever reads them.I intend to start a second facebook which I can use purely to get my videos uploaded as a lot of my friends enjoy them BUT don't want fall foul of their programming again.If only iMac would put something on the net to this effect.I think it is so unfair that with modern technology it is impossible to contact these large conglomerates personally and receive an email response.I tried emailing [email protected] but I got a failure notice.If you have any ideas on how to get verification from apple direct, I would be very grateful.Thank You.

  • HT201363 whenever i want to download an app, they ask me for 3 security questions.  I answer them and then it says "session has timed out".  And then the whole process repeats itself.  How can I download a free app if this keeps coming up?

    Whenever I want to download a free app, it asks me for 3 security questions.  I answer them.  Then it says "session has timed out".  Then the whole process starts over.  How can I get around this?

    Hey everyone in Apple world!
    I figured out how to fix the flashing yellow screen problem that I've been having on my MBP!  Yessssss!!!
    I found this super handy website with the golden answer: http://support.apple.com/kb/HT1379
    I followed the instructions on this page and here's what I did:
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    I went through the 6 steps above twice, just to make sure I got rid of whatever stuff was holding up my bootup process.  Since I did that, my MBP boots up just like normal.  No flashing yellow screen anymore!!   
    (Note that I arrived at this solution when I first saw this page: http://support.apple.com/kb/TS2570?viewlocale=en_US)
    Let me know if this works for you!
    Elaine

  • How to restore a question and secret answer?

    How to restore a question and secret answer?

    Security Questions
    http://support.apple.com/kb/HT5312
    Apple ID Contact
    http://www.apple.com/support/appleid/contact/

  • A lot of questions but few answers.  That is a fact.

    A lot of questions and few answers.  That is a fact.  My question is about deregistering a kaputt PC, and synchronizing iPod and iPod with a replacement PC w/o losing content.  I had a Toshiba with tummy trouble sychronized with and iPod and an iPad.  I bought content on all three and added content from CDs I already had.  They synchronized fine.  I deleted iTunes on the troubled Toshiba and installed it on a new Gateway.  The Gateway has far less content on iTunes and threatens to delete content from the iPod or iPad if I synchronize.  All I want to do is get all the shtuff together again on at least the Gateway and the iPod, preferably the iPad also.  Also, how to deregister the kranky Toshiba given that iTunes is deleted on it.  Why am I appealing to someone out there with time on their hands.  Doesnt Apple employ people for that?  If not, its high time they did.

    Apple does employ people to help with technical problems. They're called Apple Technical Support, available by phone (use the Contact Us link at the lower-right of any Apple web page), and Geniuses, available at any Apple Store.
    As to your questions, I'm not completely clear on where you have what content, but if it's all on your iPod or iPad, then you can transfer the content back into iTunes (a subject which, by the way, has been covered here many times already). For content purchased from the iTunes Store, see this support article:
    http://support.apple.com/kb/HT1848
    For content not purchased from the iTunes Store, check out this post from Zevoneer for some iPod/iPhone media recovery options:
    http://discussions.apple.com/thread.jspa?messageID=10570955#10570955
    As to your question about "deregistering", I presume you're referring to authorization to the iTunes Store. It would have been best to have deauthorized the Toshiba before you uninstalled iTunes. You cannot yourself deauthorize a computer that's not working or to which you no longer have access. You can authorize a total of up to five systems, so it's probably not really important that you deauthorize your dead unit now. Once you reach five total authorizations, a button will appear in your iTunes Store account that will allow you to deauthorize all your systems, so that would at that time recover the now-useless authorization.
    Regards.

  • Reading Question id and Answer ID in a survey

    Hi,
        I have the following input with me.
    1. Survey ID
    2. Survey Version
    3. Question Sequence number like 1,2,3,
    4. Answer Sequence number
    Now I have a requirement to read the question id and answer id which is generally in the below format.
    id_<guid> .
    Please let me know how can i retrieve the the question id and answer id with the above inputs.
    Regards,
    Manas.
    Edited by: manas sahoo on Aug 4, 2008 1:53 PM

    Hi
    I have seen your question ,i need the Question Id and Answer Id for survey,how did you achieve this requirement .please suggest me.

  • Where can I get my questions about JMX answered?

    Where can I get my questions about JMX answered?
    In the Jungle Mix of the World Wild Web, where are the dwellings of the JMX denizens?
    It recently came to my attention that the answer to that simple question may not be obvious...
    I hope the information provided there
    [ http://blogs.sun.com/roller/page/jmxetc#where_can_i_get_my ] will be helpful.
    Cheers,
    -- daniel

    See this page
    http://java.sun.com/products/JavaManagement/community/forum.html
    Bye for now
    CSJakharia

  • TS1702 Asking for security question to be answered that I don't know the answer to.

    Itunes is asking fo security questions to be answered that I don't seem to know the answers to. Need help fixing this problem.

    If you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then you can try going to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you might see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address then see if the instructions on this user tip helps : https://discussions.apple.com/docs/DOC-4551

  • How do I get to a second and subsequent pages of this forum so I can check to see if my question as been answered?

    How do I get to a second and subsequent pages of this forum so I can check to see if my question as been answered?  Or will a recent reply (if any) appear at or near the top of a new page when I open the site?

    Click on 'Your Stuff' above; this will provide quick access to your profile and other information.
    (75885)

  • How would i design the relationship between "question", "subquestion", and "answer"

    Hi all. Consider the following scenario:
    Scenario:
    A Question has an Answer, but some Questions have Subquestions. For example:
    1. Define the following terms: (Question)
    a) Object (1 marks) (Subquestion)
    An instance of a class. (Answer)
    b) ...
    2. Differentiate between a constructor and a destructor (2 marks)
    (Question)
    A constructor constructs while a destructor destroys.
    (Answer)
    Question:
    I want to model Questions, Subquestion, and Answer as Entities with relationships/associations, preferably binary relationships as i feel ternary relationships will be problematic while programming. Any suggestion on how i would
    go about this?
    There is never infinite resources.
    For the Question Entity, a question has the attributes "QuestionPhrase <String>", "Diagram<Binary>", and "Marks
    <Decimal>".
    For the SubQuestion Entity, a subquestion has the attributes "SubQuestionPhrase <String>", "Diagram<Binary>", and "Marks <Decimal>".
    For the Answer Entity, an answer has attributes, "AnswerPhrase<String>", "Diagram <Binary>"

    Yes. I am in .Net. I sure do hope i did not ask in the wrong forum. :-|
    Hi KCWamuti,
    If you need to design the relationship between Question table and Answer table in SQL Server, as Uri’s and Visakh’s posts, you can create the foreign key to establish relationship between tables, and use join in query to get your desired result. For more
    information about JOIN in SQL Server, please review this article:
    Different Types of SQL Joins.
    However, if you need to model Questions, Subquestion, and Answer as Entities in .Net, then the issue regards data platform development. I suggest you post the question in the Data Platform Development forums at
    http://social.msdn.microsoft.com/Forums/en-US/home?category=dataplatformdev . It is appropriate and more experts will assist you.
    Thanks,
    Lydia Zhang

  • SQL Question Bank and Answers for Practise

    Dear Readers:
    Does any one have any recommendation on SQL question bank and answers where I could practice my SQL.
    I have developed some basic knowledge of SQL thanks to the MS community, but I am looking for some additional Questions or textbook  recommendations which has questions and answers to queries for practice.
    Best Wishes,
    SQL75

    Hi,
    Refer below post.
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/446b2247-5124-49c1-90c9-b7fea0aa4f83/sql-dba-books?forum=sqlgetstarted
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    Praveen Dsa | MCITP - Database Administrator 2008 |
    My Blog | My Page

  • FI questions to be answered

    Dear SAP Champs,
    I have few questions to be answered
    1. Is it possible to give a depreciation key to multiple depreciation areas?
    2. Can different currencies be given to different depreciation areas?
    3. How can you restrict the check printing to a particular location and particular user in case of multiple branch setups?
    4. Do we use same bank accounts in APP and BRS?
    5.How many variants we can create at a time in APP?
    6. If fiscal years are different for 2 different company codes with USD and INR currencies respectively, how do you generate combined reports in USD currency?
    7. Is it possible to have different currencies for GL accounts under one chart of accounts? If yes, what is the significance?
    Waiting for reply,
    Regards
    Nike
    Moderator: Please, respect the rules, avoid asking basic or 'quiz' questions and ask only one question per thread

    Hi,
    1. Is it possible to give a depreciation key to multiple depreciation areas?
    Yes
    2. Can different currencies be given to different depreciation areas?
    Yes
    3. How can you restrict the check printing to a particular location and particular user in case of multiple branch setups?
    You can define the validation or can restrict the access to the user via authorization objects. Please contact your BASIS team to set this up
    4. Do we use same bank accounts in APP and BRS?
    Yes, we generally use the same Bank Clearing Account in APP and BRS for clearing posting. In APP, the offset goes to vendor and in BRS, offset goes to main bank Account.
    5.How many variants we can create at a time in APP?
    If you are talking about the variants in the F110 screen printout tab, then you can give upto 40 variants in a payment run for a print program
    6. If fiscal years are different for 2 different company codes with USD and INR currencies respectively, how do you generate combined reports in USD currency?
    You need to define the group currency as USD and have to assign these two company codes to a company. Please search SDN and net for detailed setup.
    7. Is it possible to have different currencies for GL accounts under one chart of accounts? If yes, what is the significance?
    Yes, different GL master can have different currency for posting. Please note that SAP stores the amount in document currency, local currency and group curency in parallel.
    Regards,
    Gaurav

  • My question was not answered in a timely matter so I'll ask again...

    My Guardians of the Galaxy Blu-Ray copy gave me a code to download the movie on iTunes for free. The download seemed successful, and when I played it, the title screen came up, but when I tried to play the movie or the bonus features, there was no audio or video. When I go to the Get Info screen, it says it's a Protected MPEG-4 and the file type is .m4v. My question is: how do I get the movie to work? Why would they give me a file that does not work in the first place?

    My question was not answered in a timely matter so I'll ask again...:
    too many questions,most of which are already answered in previous threads.
    the problem probably comes from windows; check : http://support.apple.com/en-us/HT203205

  • Sets of Question Papers and answers for SAP ECC 6.0- FICO Module

    Hi,
    If anybody has some material on sets of question papers and answers of SAP ECC 6.0  FI- CO Material please mail the same on [email protected]
    Useful replies will be awared points.
    Regards
    Milind Nair

    Hi,
    Please refer the below link and reward if helpful.
    http://help.sap.com/saphelp_nw04s/helpdata/en/e5/de86f335cd11d3acb00000e83539c3/content.htm

  • I got an answer and I replied with a question about the answer, does no show in unanswered

    I got an answer and I replied with a question about the answer, does no show in unanswered questions. I guess replying was not the way to get another anwer, How do I do that?
    He said - Certain Firefox problems can be solved by performing a Clean reinstall. This means you remove Firefox program files and then reinstall Firefox.
    I want to know - Will I still have my bookmarks, history, addons, plugins, etc.? I do not know what plugins and such that I had. What about my pinned tabs and my tabs that where open.
    More information - When I try to start Firefox I keep getting the message that I need to restart my computer in order to complete a previous update attempt. I had Sweetpacks on my PC and I do not know where it came from, it took over my home page in Internet Explorer and Ithink caused the issue with Firefox.
    Should I do the clean install or try starting Firefox now.

    Could you please stay in the thread where you posted the question and reply there instead of opening a new thread?
    Locking this thread, so please continue here:
    *[[/questions/968194]]
    See also:
    *[[/questions/968222]]
    You won't lose bookmarks and other data in the Firefox profile folder as long as you do not remove personal data in case you uninstall Firefox.
    See also:
    *http://kb.mozillazine.org/Profile_backup
    *https://support.mozilla.org/kb/Backing+up+your+information
    You can open the Properties of the Firefox desktop shortcut via the right-click context menu and check the "Compatibility" tab.<br />
    Make sure that all items are deselected in the "Compatibility" tab of the Properties window.

Maybe you are looking for

  • How to Enable JMX Console in the Weblogic 10.3

    Note : Sorry, i am cross posting this thread from "management", but this is extremely urgent for me and i did not get any response from yesterday. Hope to have a solution atleast from this group. I have an application that is JMX enabled. It has its

  • Configuring TP-Link TL-WR2543ND

    Can anyone help with configuring a TP-Link TL-WR2543ND Wifi Cable Router?   My BT hub has to go because it does not support Apple AirPlay. Issues I have are:  According to BT, the connection type should be PPPoA with VCI set to 38. But the router con

  • What notebook cooler do you have/recommend?

    Hi guys, Does any of you use a notebook cooler? I'd like to get the Zalman NC2000 for my T60p, unless someone else know another good one? regards, T42p 2373-Q1G (PM765, 2GB, 250 GB HDD, 15" UXGA(1600x1200), 128MB ATI FireGL T2) T60p 8741-C4G (T7600 2

  • SEM CPM BSC - Assessment entry

    Hello I have a Balanced Scorecard defined in SEM. The users can entry "assessments" each month for each measure. Something happened, and right now it is not possible to enter "assessments" through the web interface (transaction UMB_LAUNCHPAD_WEB) of

  • Please, please help me. I'm new to nokia and need ...

    Hey guys! I just got myself an N73 but my kitty chewed through the data cable. So I went out and bought myself a new cable, (DKU-5). The pc suit now wants me to connect with cable, so I plug all in etc, but then a message on my phone ops up stating "