Like for Like Restriction in BW Query

Hi,
We are trying to develop one store sales dashboard with information LFL(like for like) sales last year sales, LFL this year sales,  LFL growth percentage.
This report contain column for Daily,WTD, MTD and YTD so total (12 (4x3)fileds).
Definition for like for like is, if store is opened last year same day will consider under LFL category.For daily it is simple and working(we set some flag through ETL and use that flag to restrict at column level).
But for WTD,MTD,YTD this calculation is some more complex.
If current week is 21st, we will check store on last year same week.
there will be 2 case, store which opened last year same week, and before that.
for case one: if store opened on WED, this year also we have to take sales from WED. (Need to exclude MON,TUE). For each and every store this will be different based on store opening date.
If any one gone through similar requirements then please guide. Feel free to comment.
Regards
Baby

Hi,
The status shows "Answered", please advice how this was achieved!
Thanks

Similar Messages

  • 104-unsupported wireless network device detected - yet replaced with like for like card!

    Hi,
    I am repairing a friends laptop where their wireless is no longer working.
    I ordered a new card on ebay which is the same model Broadcom BCM4311KFBG however I still get the above message.
    How is it not accepting this card? Surely it's in the whitelist? It is exactly the same card except for the original had a "P20" stamped on the chip (as well as the BCM4311KFBG model number) and this new one had "P11".
    Any help much appreciated.
    Thanks
    This question was solved.
    View Solution.

    HP6715b.
    The one on the left is for HP.
    The one on the right is for DELL.
    Both are BCM4311KFBG.
    http://www.ebay.com/itm/Broadcom-BCM4311KFBG-Mini-PCI-express-Wireless-WLAN-Wifi-Card-802-11-For-HP-...
    Ebay  $7.99 free shipping.
    REO
    HP Expert Tester "Now testing HP Pavilion 15t i3-4030U Win8.1, 6GB RAM and 750GB HDD"
    Loaner Program”HP Split 13 x2 13r010dx i3-4012Y Win8.1, 4GB RAM and 500GB Hybrid HDD”
    Microsoft Registered Refurbisher
    Registered Microsoft Partner
    Apple Certified Macintosh Technician Certification in progress.

  • Converting does not complete 'like for like'

    I am converting a large word document complete with index to Adobe.
    In word the Index is correct. Once converted the pages are  alll wrong compared to the index.
    Some of the pages that fitted onto a word page now extend onto a pdf page creating the problem.
    How do I resolve this?

    How do you convert?
    PDF Pack → http://forums.adobe.com/community/createpdf
    Acrobat → http://forums.adobe.com/community/acrobat/creating__editing_%26_exporting_pdfs

  • I would like to reset my iPhone but it has asked me for a restriction code I have never set one and I have tried everything I can think of I was wondering if there was a specific code ????

    Help me I have been trying to restore my iphone back to original settings an very time I try it asked me for a restriction code I have never set a restriction code and was just wondering if they were all the same for every iPhone please could someone help me

    - Restore from a backup that was make before you added the Restrictions passcode. If you restore from a backup made with the Restrictions passcode the Restrictions passcode is also restored.
    - Restore to factory settings/new iPod.
    - If you are up to it see:
    How to reset forgotten Restrictions...: Apple Support Communities
    Some other uses have experienced a Restructuions passcode just appearing out of thin air. Try passwords you use on the iPhone.

  • Modeling Like, And, Or Restrictions

    Is it possible to restrict in BEx Query Designer something like the following:
    mms_unit_cd Not Like "PIB*" AND
    equipment_nbr Not Like "A;*" AND
    issued_dt <= 12/31/2008 AND
    WO_ENVIR_SAFETY_CD = u201CSu201D OR u201CBu201D AND
    WO_STATUS_CD <>"CL" And <>"CO" And <>"MC" AND
    LOCATION_CD = u201CAu201D
    OR
    mms_unit_cd Not Like "PIB*" AND
    equipment_nbr Not Like "A;*" AND
    (completed_dt >=1/1/2008 And <= 12/31/2008) AND
    WO_ENVIR_SAFETY_CD = u201CSu201D OR u201CBu201D AND
    WO_STATUS_CD "CL" Or "CO" Or "MC" AND
    LOCATION_CD = u201CAu201D
    OR
    mms_unit_cd Not Like "PIB*" AND
    equipment_nbr Not Like "A;*" AND
    (issued_dt >=1/1/2008 And <= 12/31/2008) AND
    WO_ENVIR_SAFETY_CD = u201CSu201D OR u201CBu201D AND
    WO_STATUS_CD = u201C*u201D AND
    LOCATION_CD = u201CAu201D
    Or would it be necessary to set up flags on the back end for the Like and Or Conditions, and then restrict based on that in designer?

    Hi,
    Take a look at the help site.
    http://help.sap.com/saphelp_nw04/helpdata/en/23/17f13a2f160f28e10000000a114084/content.htm
    Regards.

  • Hi in my sql query i applied like condition (like '%TEST') but it is taking long time

    Hi in my sql query i applied like condition (like '%TEST') but it is taking long time. I applied indexes also,but still i'm facing the same problem. In my databse nearly 2,00,000 records their.

    Hi Manikandan
    Is there a difference in performance between running the query in BEx and WebI?
    have you aggregates in place on the BEx side of things?
    When you say its taking too long to open the report, have you a variable screen coming up for the report and is that what is taking the time or is it the report execution.
    With regards
    Gill

  • We have 4 iphones in our family and an Ipad.  When we purchase music I would like for the entire family to be able to use it.  Should each of us use a different apple account or should we use the same one.

    We have 4 iphones and an Ipad in our family. When we purchase music, I would like for the entire family to be able to use it and then back it up to Icloud. What is the best and cheapest way for this to happen.  Should we all have a different apple id or should we use the same one.

    You will all need to be on the same itunes account ID.
    You can however all have seperate icloud accounts aswel.

  • Creating Restrictions in BEx query designer for (1-a), where a is variable.

    Dear All,
    >>  Suppose for the variable in the BEx query designer, I've created restriction for 0FISCPER to the variable 0P_PER (as 0P_PER-1) by right clicking 0P_PER3, from that a dialog box appears.  In that I've selected 0P_PER3 and then clicked on offset variable and when I set the offset variable, it works for (0P_PER-1.etc, 0P_PER+1,etc..)
    But if I want to have (1-0P_PER), then plz tell me how to define this restriction?
    Plz explain me the steps to perform (1-0P_PER) restriction in BEx query designer in BW1.
    I'm using SAP BI 7.2 gui.
    Expecting your reply soon,
    with Regards,
    Jerald

    My requirement is that I want to have " 1-fiscal year"., But this I could not define using offset variables, since using offset we can define "fiscal year +1" or "fiscal year -1". 
    So there would be some other way to define "1-fiscalyear".  So Please help me to define "1-fiscalyear"  by giving me the steps.
    Thank you,
    with Regards,
    Jerald

  • I recently got my moms friend old iphone5 that he had for like a month. Everything is fine with it but it wont let me update any of my apps because it asks for his apple ID password. Is there anything i can do to change/fix that?

    I recently got my moms friends old iphone5 that he had for like a month. Everything is fine with it but it wont let me update any of my apps because it asks for his apple ID password. Is there anything i can do to change/fix that?

    sabrinabriii wrote:
    I recently got my moms friends old iphone5 that he had for like a month. Everything is fine with it but it wont let me update any of my apps because it asks for his apple ID password. Is there anything i can do to change/fix that?
    You should remove his AppleID and restore it as new.

  • I am trying to print a PDF file to a legal size paper and I would like for it to fill up the page. How do I do this? I went into the settings and changed it from letter to legal, but it's still printing out the same size. Can someone help me, please?

    I am trying to print a PDF file to a legal size paper and I would like for it to fill up the page. How do I do this? I went into the settings and changed it from letter to legal, but it's still printing out the same size. Can someone help me, please?

    Are you trying to Print to PDF or are you trying to Print a PDF file to a physical printer?

  • TS1702 how do you stop itunes from downloading apps over and over again and again like for ever it wont stop  help.

    how do you stop itunes from downloading apps over and over again and again like for ever it wont stop  help.
    i tryed everything i  can in the setting and so on , i even clicked on the downloads arrow to pause it and delete them but like i said it will now stop.
    theres apps i just dont want. theres a list of them but theres not a place were i can get rid of them. it also says some stuff about icloud yeah right like i have ios 5 or 7 ha . pod touch 2 is what i have lol . plz help thanks.

    to the right by search library theres an arrow there click on it : it will show you what it is downloading , from there you can pause and select all and delete them but still will continue to download them if you tell itunes to check for downloads. that download engien is crazy i tell yeah.
    no matter what we do it will still download them trust me i tryed everything and i also went to icloud to see if it was there but to what i see is that there is no apps there this is some crazy itune program that needs to remade.

  • I have a new iPad Air. Can I use plug in USB camera reader to have a load of movies etc on an external hard drive and then plug and play so to speak. I'm off on holiday and haven't got the capacity to have everything on that I'd like for the kids

    Can I use a plug in USB camera reader to have a load of movies etc on an external hard drive and then plug and play so to speak? I'm off on holiday and haven't got the capacity on the iPad to have everything on that I'd like for the kids.
    So basically I want a hard drive with X amount of films etc on. Can I then watch them on my iPad?
    Hope this makes sense.

    External HDD won't work.
    You need something like this:
    http://www.seagate.com/goflexsatellite/

  • When on call, people hear me in-and-out for like 3 seconds at a time.....

    Hey everyone,
    Has anyone experienced a problem where you're making a phone call and the person at the other end can hear you only for like 3 seconds -- dead silence for 10 seconds -- and can hear you for another 3 seconds? I've just started to have this problem and I purchased this about 2-3 weeks ago.
    Alex

    Did you get a new case for your phone, it sounds like the phone isn't turning the screen off and your face is hitting the hold button... Many cheap or bad designed cases cover up the face proximity sensor above the ear speaker...
    Just a thought, always good to start off simple
    well not, Is your phone turned on simple?

  • When i open a new tab it opens in a new window..i like for it to open on the same window i am on,

    when i open a new tab it opens in a new window..i like for it to open on the same window i am on. I went to Tools then options then on tabs the first box (open new window in a tab instead) it was checked so i unchecked it clicked on ok and it did the same thing for new tab it opened in a ew window so i went back and put a check in the tab and same thing....new window.. i then unchecked and ditto.....and did this about 5 times with no change. It had been opening taa What i the world is wrong with this thing? any help is appericated very much...thank you! Donna C

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • So my Ipod touch hasn't been connecting to computer, or charging for a week or two until i turn it off completely and now i try to reset all content and setting, the circle goes round and round for like hrs(24) and it still does not complete the reset

    so my Ipod touch hasn't been connecting to computer, nor charging for a week or two until i turn it off completely and now i try to reset all content and setting,(thinking it may connect to the computer and itunes and also charge) but the circle goes round and round for like hrs(24) and it still does not complete the reset.
    pls pls pls pls help .
    i have tried alot of solutions, but non of them have worked.

    Have you tried walking it into the nearest Apple Store and asking for assistance there...?
    I'm guessing you don't have Apple Care on it.

Maybe you are looking for

  • Help - My macbook keyboard doesn't work after being sprayed with windex.

    My mom cleaned my keyboard with windex.  I'm assuming that this short-circuited something or other so the keyboard isn't being processed.  Anyways, I let it dry out for a day and some of the keys work now, but the macbook randomly shuts off. Should I

  • Tutorial: Azure AD Integration with UserVoice

    Click reply and tell us what you think: Azure AD Integration with UserVoice Markus Vilcinskas, Knowledge Engineer, Microsoft Corporation

  • Software Reengineering is a Delicate Process

    Successfully reengineering a software application is often a challenging and fulfilling endeavor. The current program, written in COBOL, is an important component of an existing application. Our main objective is to reengineer the program with a obje

  • Edit Menu in Photoshop

    Has anyone figured out how to get this to work with Photoshop CC instead of Photoshop CS6?  (Without removing Photoshop CS6?)

  • Losing original session when opening new window

    I have an application that opens a new child window that form submits to another application on another server. When this happens the other application server automatically creates a new session, wiping out the original session in the parent window.