The 'Keep Flag' property -- How does it work? Why does it work?

Within my calculation views I had been encountering problems properly aggregating the measures, when certain attributes were excluded from the result set. An SAP consultant recommended setting the attributes' KeepFlag property to True; that resolved the problem, but I'm not sure why.
The help feature within HANA Studio doesn't mention the Keep Flag property. I haven't been able to find much information about this property online, either.
Exception aggregation modeling with Graphical Calc view states:"The Keep flag will always add [the specified] columns in the group by clause even if they are not selected in the query." This is a good start; however, is there any additional documentation regarding this property?

Thanks, Jody. That explanation is helpful. So should Keep Flag be set to True for all of the columns that the user could potentially exclude from the result set? To illustrate: Given the following sample data:
PRODCODE   LOCATION   QUANTITY
12345      A                 1
23456      B                10
34567      C               100
12345      A                 1
If the result set excludes LOCATION, the aggregated results are incorrect; i.e.,
PRODCODE   QUANTITY
12345             1
23456            10
34567           100
The second occurence of 12345 / A / 1 is inexplicably excluded. Setting LOCATION's Keep Flag property to True restores the second occurrence--resulting in the correct quantities; i.e.,
PRODCODE   QUANTITY
12345             2
23456            10
34567           100
Of course, calculation views typically have many more attribute columns. Should the Keep Flag property be set to True for every one of the columns that the user could potentially exclude from the result set?

Similar Messages

  • How come the sight was down so long? and why does the system not send emails anymore with responses?

    how come the sight was down so long? and why does the system not send emails anymore with responses?

    The system is back up and fully functional. How long has it been since you stopped receiving notifications? Can you share your form with us so we can have a look into what might be going wrong?
    Andrew

  • When ever i turn cellular data off then back on my mobile internet doesent work why does this happen?, when ever i turn cellular data off then back on my mobile internet doesent work why does this happen?

    when ever i turn cellular data off then back on my mobile internet doesent work why does this happen?, when ever i turn cellular data off then back on my mobile internet doesent work why does this happen?

    You only asked the question 4 times.  You have to repeat it at least 10 times to get an answer here, and then only if you supply useful info about your phone.

  • My iMac locks up constantly in email. I click on one or two emails. Then when I click on another email, I get the spinning wheel and have to relaunch. Why does it get confused and lock up?

    My iMac locks up constantly in email. I click on one or two emails. Then when I click on another email, I get the spinning wheel and have to relaunch. Why does it get confused and lock up? Seems like it is stuck.

    10.6.8 here, MacBook Pro. Comcast. Mail  freeze ups. Occasional warnings to use "Log Out" under the Apple icon.
    Disk Repair run several times. Shows lots of Java  "remote" issues.
    I run Disk Repair several times, shows a lot of Java, "remote" issues.
    Restart don't know if it helps, I do it all the time. What's with quitting Mail but it doesn't quit, and why a separate maneuver to "Log Out".
    i

  • When i scan my ipod from the application named find my ipod touch 4 it simply shows location unavailable while that of my cousin's ipod touch exactly shows the same location..... Why does that happen???

    When i scan my ipod from the application named find my ipod touch 4 it simply shows location unavailable while that of my cousin's ipod touch exactly shows the same location..... Why does that happen???

    When you go to the Google Maps app on the iPod does it correctly find your location? The iPod's locations service uses the location of the a nearby wifi router to locate te iPod.  However, not all routers are in Apple's database and as of yet nobody here knows of a way to add routers to the database.

  • My Iphone keeps crashing since the new update.. how do I get my phone to work right

    My Iphone keeps crashing since the new update 7.1.. how do I get my phone to work right

    First, create a separate login on your computer for your friend. Do this BEFORE you do anything else. Next, make sure iTunes is up to date. Then:
    1. Disable auto sync when an iPod/iPhone is connected under Preferences>Devices in iTunes.
    2. Make sure you have one contact & one event in the supported applications(Address Book, iCal) on your computer. These entries can be fake, doesn't matter, the important point is that these programs not be empty.
    3. Connect her phone, iTunes running, do not sync at this point.
    4. Store>Authorize this computer.
    5. File>Transfer Purchases(To make sure all purchased content on her phone will be in her itunes library).
    6. Right click in the device pane & select reset warnings.
    7. Right click again and select backup.
    8. Right click again & select restore from backup, select the backup you just made. When prompted to create another backup, decline.
    9. This MUST be followed by a sync to restore her itunes content, which you select from the various tabs, You'll get a popup regarding her contacts & calendars asking to merge or replace, select merge.
    You should be good to go.

  • I was given a 16Gb ipad mini retina with cellular but I need more storage. We do not have the receipt as it is a gift. I like to swap for a 64Gb unit and pay for the difference my self, how do I go about doing that? I have not open the packaging yet.

    I was given a 16Gb ipad mini retina with cellular but I need more storage. We do not have the receipt as it is a gift. I like to swap for a 64Gb unit and pay for the difference, how do I go about doing that? I have not open the packaging yet.

    Hi
    Thanks for that. Yes, the ipad was purchased recently. I called Apple last Friday and they ask for the receipt. I wonder if anyone were able to swap their ipad for a larger storage in the past at the apple store without a receipt? 16Gb is such a small storage.

  • Why does my macbook pro keep freezing and rainbow disk appears?, Why does my macbook pro keep freezing and rainbow disk appears?

    My macbook pro keeps freezing and I get a rainbow disk circling. I have to hold the power down and turn off, it will not do anything else.

    Can you tell us how much RAM  (Memory) you have? It's listed by clicking on the  in your title  bar....go to About This Mac and it's in the 1st window.
    We would also like to know what size hard drive you have and how much free space is on it.
    If you click on your Hard drive icon (should be upper right hand corner of your screen), or the Finder in your Dock...when the window opens it says at the bottom how much Free Space you have on your drive.
    If you go to the , click on About This Mac, click on More Info... in that window. The next window says how big your hard drive is under Hardware....click on Serial-ATA.....look under Capacity:
    We need to know this cause if a hard drive is too full it slows things down and creates operational difficulties.
    DALE

  • My ipod nano 5th gen freezes when i try to play a certain song, and itunes gives me an error message when i try to convert it into a different format!! i just bought the song this morning, so i dont see why it wont work! any help would appreciated!!

    so yea, the title pretty much says it all. I bought a song called LOL Money by Jace Hall this morning, along with Sub-Zero VS Scorpion rap battle by Brysi. when i synched them to my ipod nano, the rap battle would play, but LOL Money would just freeze my ipod and i would have to reboot it. does anyone know why it is doing this??

    Does this problematic song play okay in iTunes?  Have you tried removing and resyncing it to your device via iTunes?
    B-rock

  • I combine 3 different invoices to create a single file,when it is done combining the files,all three invoices are the same,but i picked 3 different invoices,why does it do that?

    i combined 3 different invoices to create a single file,when the program is done combining the files it makes all the invoices the same,it does not have the other 2 invoices in it,makes 3 copies of the first invoice,why does it do that?

    I was having the same problem.  The trick is to flatten the forms before combining.  It is in the tools - print production menu.  If print production isn't there click on where I am indicating with the top blue arrow.

  • Report a broken website on firefox help does not work- why does the action bar keep scrolling when i click submit

    the broken website link is not working for me - the "submit toolbar just keeps scrolling until I give up and navigate to another site. recently my leftside bookmarks display keeps highlighing one website ''''''''Live Internet Seismic Server '''''''' even when i don't click on it

    This problem was also reported in question 774215 as a problem that the user encountered after trying to report his primary problem. See https://support.mozilla.com/en-US/questions/774215. FWIW.

  • I can't understand apple teminology - what is the difference between a keychain and a password - why does my mac keep asking me to type in the keychain - I don't know what it is or when it was created!!!

    I can;t understand the apple terminology - what is a keychain and how is it different to password?  When I set a new password it keeps asking me for the login keychain.  None of my passwords work for it and I don't know when it would have been created.

    A "keychain" is a secure database in which passwords are stored in an encrypted format to prevent unauthorized discovery of your passwords. Think of it like a bank safe deposit box in which you can safely store your passwords.
    If you have a problem with your keychain then perhaps you have not changed the passwords correctly or need to repair your keychain. You might try:
    Assuming that you are using a recent build of OS X, go to /Applications/Utilities and launch the app called Keychain Access. Go to the Window pulldown menu and select "Keychain First Aid". Enter your password, set the radio button to "Repair", and click "Start".

  • HT1688 my phone in the diagnostics portion of my phone keeps saying stacks again after i had already taken it into the apple store to get it looked at, why does it keep doing this

    i just want my phone batter to stop dying so fast and it to quit doing this stack thing where it keeps my apps open even after i've closed them. i did a master reset in the apple store last tuesday. and a week later it is messing up again.

    Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
    Apple's iWork suite (Pages, Numbers, and Keynote.)
    Open Office (Office 2007-like suite compatible with OS X.)
    NeoOffice (similar to Open Office.)
    LibreOffice (a new direction for the Open Office suite.)

  • My older iPhone which is the 3G or 3S and it's showing an Itune Icon, and doesn't Work. What's wrong with the iPhone 3GS and how to fix it? It was working fine a few days ago

    Starting to wonder if the iPhone's been hacked into. The Iphone was working perfectly fine just a short time ago...only 48 hours ago. I never saw a screen on the front of the front of the phone which showed an iTunes Icon at the top of the screen and a cord going down to the bottom of the screen before. I cannot use the phone, get online to get to the internet, take photos of anything.
      The phone was working perfectly the day it started working very very strangely and I was able to use the phone, see the time of day, take photos, get online, etc.
      How do you fix the phone? I am not going to "restore" the phone & get ALL my info, photos & everything deleted!
      Think we need to change the phone number because we also got a strange phone call from a phone number we never saw before!
       Need some help. as I'm sure people CAN hack into smartphones.

    It's in recovery mode. It's tryijng to tell you to plug it into iTunes and restore it.
    LuvsMacs2014 wrote:
    I am not going to "restore" the phone & get ALL my info, photos & everything deleted!
    I hate to tell you this, but ALL your "info, photos & everything" are already gone.
    You don't have a choice.

  • In the spry css menu, how do i know what does what?

    I have two questions,
    (1)    In the spry css menu, is it just a case of trial and error to find out what each one does or is there a recognisable freature of each line to tell me what each one does, there are so many of them and most of them are alike. I cant help thinking there is a simple way of identifying what each one does without having to search around in the dark until i stumble on the right one that dose what i am trying to tweak in the appearance of the menu bar.
    (2)  When I am inserting the data for each of the navigation links when i first insert the spry menu I.E.... HOME...ABOUT...COURSES....CONTACT  and the list items under "COURSES" link successfully to each page when clicked in the browser. When i click the "HOME" button, a drop down menu of the navigation options ( HOME...ABOUT...COURSES...CONTACT) appears under it. How do I eliminate this when i insert the spry menu bar so it does not appear in the browser.

    Have a look here http://www.dwcourse.com/dreamweaver/ten-commandments-spry-menubars.php#one
    Have proper markup.
    Although the above are true answers to your questions, I have reason to believe that it will not satisfy you. Remember that these are user to user forums and that we do not have much time to spare. We can answer most specific questions, but do not have the time to answer generic questions to their fullest extent.
    What I am trying to say is, please supply a link to your site with a specific question and we will help where we can.
    Gramps

Maybe you are looking for