Categorize and count each using Formula Workshop

Hi, I am trying to categorize all records like this
Formula name is called SLA
IF {F_TASKS.TA_STATUS}in["ACTIVE","ASSIGNED"]
AND {SLA_Task_Performance.TaskPerfSLAFixDate}  > CurrentDateTime
THEN 'SAFE OPEN'
ELSE
IF {F_TASKS.TA_STATUS}in["ACTIVE","ASSIGNED"]
AND {SLA_Task_Performance.TaskPerfSLAFixDate}  <=  CurrentDateTime
THEN 'FAILED OPEN'
ELSE
IF {F_TASKS.TA_STATUS}IN["COMPLETE","HISTORY","CANCELLED"]
AND ({SLA_Task_Performance.TaskPerfFixDate} <=
{SLA_Task_Performance.TaskPerfSLAFixDate})
OR ISNULL({SLA_Task_Performance.TaskPerfFixDate})
THEN 'SAFE CLOSED'
ELSE
'FAILED CLOSED'
After putting SLA to crosstab header, counts for each categories are shown depending on what category it is. However, I only want to show SAFE CLOSED.
I did try to use specified SAFE CLOSED from the grouping option and disregard others, to get its percentage. However it doesn't get the exact percentage of only SAFE CLOSED. as it only gets the 100%.
Can anyone help me to get the exact percentage of only SAFE CLOSED?
Many Thanks

Hi Abilash,
Please check the screenshot below.
this shows when I remove the FAILED CLOSED,SAFE OPEN and FAILED OPEN in the grouping.

Similar Messages

  • HT204053 How can my other half and I each use our own apple ids on one iPad?

    My other half and I each have our own apple id. How can we use our own ids on the same ipad2?

    no, when using facetime you log in with the apple id you want people to reach you at, so unless you both agree to share one apple id for all the facetime you do, it will be necessary for you to logout and login each time you use the application.

  • Add EMO button and counter

    Hi guys,
    Doing a college project and am stuck with this. Honestly haven’t a clue about Labview but been trying my best.
    I'm trying to add a counter that will increment every time my slider returns and I also want to add an EMO button to stop the slider instantly.
    I've cut the relevant section out of my VI and posted.
    Appreciate any help.
    Attachments:
    Server VI.5.vi ‏19 KB

    Hi guys,
    Thanks for the replies. I've tried looking over the tutorials, but i must be just a bit slow
    This is supposed to be the clamp part of a moulding machine.
    Hi Ravens,
    Thanks for the advice, EMO was Emergency Motor Off, to be honest I haven't a clue, this is just a college project but I'm only back in work so have missed last 2 months and this project is due in 2 weeks. Trying to play catch up is just making things more confussing.
    All I want to do with this part of the VI is the ability to stop the ram as soon as a button is pressed. And count each time the Ram returns home to indicate a Shot count for parts out.
    I know the wiring is awful but i'm so lost I just need to get something that I can submit.
    Cheers.

  • Inner select and select in "record selection"- Formula workshop problem

    Hi,
    I am facing a bit tough situation in creating a Crystal Report.
    I have two queries which I need to accommodate in the Report according to a given parameter (selectionParameter).
    The queries are as follows:
    select total, minvalue, customer
    (select  sum(A) TOTAL, min(B) minValue, C customer
         from table1, table2
         where table1.A = table2.E
         AND B in (Select B from table3 where F=10)
         group by C
    order by total, minValue
    select total, minvalue, customer
    (select  sum(A) TOTAL, min(B) minValue, C customer
         from table1, table2
         where table1.A = table2.E
         AND C in (Select C from table4 where G=20)
         group by C
    order by total, minValue
    These queries should be executed according to the selectionParameter set to 0 or 1. The only difference in these queries in one of the where clauses. In the formula workshop "record selection"- I have put an if clause.
    if(selectParameter = 0) then (B in (Select B from table3 where F=10)
    else C in (Select C from table4 where G=20).
    This is not supported, since select statement cannot be used in the formula workshop!!.. And also, I have understood that what ever procedure I have been following is completely wrong, since the where clause written in "record selection" formula workshop applies to OUTER SELECT, but not to inner select, which is not what I want!!.
    Please help me to solve this puzzle. I am eagerly waiting for a solution.
    Thanks and Regards,
    Janakiram Dandibhotla.

    A command object is really the only way to create a custom SQL query in Crystal Reports.  You have the option to create a command object after you connect to your datasource.
    Alternatively you can create a JavaBean class, create the custom query in the java page, retrieve the resultset, and use that in the report.

  • I have 2 macbooks each with an account for me and one for my wife. I use one Macbook logged in with my account and my wife uses the other Macbook only loged in on her account. We both make regular time-machine back-ups each on a separate external disk

    I have 2 Macbooks each with an account for me and one for my wife. I use one Macbook logged in with my account and my wife uses the other Macbook only logged in on her account. We both make regular time-machine back-ups each on a separate external disk. Is it possible to update her account on my macbook using her external disk without overwriting my stuff on the same Macbook and vice versa?

    Time Machine does not do individual accounts. It records the complete drive. So if you were to use her TM backup on your Mac it would make your Mac just like hers. Both yours and her account on your MAC.
    Just copy the missing files over from her Mac to yours. If there are differennt programs on each then they would need to be installed on both.

  • HT5624 My husband and I share an Itunes account so use the same email address and password.  Our iphones are now connected and we get each other's messages and share each other's contacts.  How can we stop this happening?

    My husband and I share an Itunes account so use the same email address and password.  Our iphones are now connected and we get each other's messages and share each other's contacts.  How can we stop this happening?

    A couple of different approached:
    Create a second AppleID for one of you that includes the email address and phone number you wish to use for messaging, but do not apply it to the iTunes and app store (just keep the current one). My wife and I do this and it works quite well. Also allows for easier syncing of Contacts , notes etc. using icloud if you wish to do that.
    Add additional emails/phone numbers to the existing account and change the Send/Receive settings for Messages. this will not fix the Contcts isues for you however.

  • My partner and I each have an iTouch and one iMac.  Our iTunes only recognizes my iTouch  - how do we use two iTouches on one iMac?

    My partner and I each have an iTouch and one iMac.  iTunes only recognizes my iTouch.  How can we use one iTunes with two iTouches.
    thanks

    iTunes can manage any number of iDevices separately. Be sure each has a different name. You can only connect one at a time. Please get the IPod Touch user guide.

  • Can I use multiple iPhones on the same iTunes account? e.g. my wife and I each have iPhones

    can I use multiple iPhones on the same iTunes account? e.g. my wife and I each have iPhones

    Yes, you can have as many devices - iPhones, iPods, iPads - as you like using the same iTunes account.

  • My wife and I each have an iTunes account. We just got a new iMac, and we want to merge our accounts into the main machine and use them together on our iPhones and ipad2.

    My wife and I each have an itunes account. We just got a new imac, and want to put all of our media on it. Can we share songs and media from two diffrent accounts on the imac, our iphones, and the ipad2?

    Decide which device will be changing accounts.  On that device, if you have any photos in photo stream that are not in your camera roll that you want to keep on the device, save them to the camera roll by opening the photo stream album in the thumbnail view, tapping Edit, then tap all the photos you want to save, tap Share and tap Save to Camera Roll. 
    Once this is done, go to Settings>iCloud, scroll to the bottom and tap Delete Account.  (This will only delete the account from this phone, not from iCloud.  The device(s) that will be keeping the account will not be effected by this.)  When prompted about what to do with the iCloud data, be sure to select Keep On My iDevice.  Next, set up a new iCloud account using a different Apple ID (if you don't have one, tap Get a Free Apple ID at the bottom).  Then turn iCloud data syncing back to On, and when prompted about merging with iCloud, choose Merge.  This will upload the data to the new account.
    Finally, to delete any data that you don't want in each account (such as deleting your wife's data from your account, and vice versa) you will have to go to icloud.com on your computer and sign into each iCloud account separately and manually delete it.

  • My wife and I each have an iPhone4 with separate Apple IDs. We are hopefully about to purchase the 4th gen iPad; can we use iCloud on the iPad with separate IDs on the iPhones?

    My wife and I each have an iPhone4 with separate Apple IDs. We are hopefully about to purchase the 4th gen iPad; can we use iCloud on the iPad with separate IDs on the iPhones?
    We would like to have all our music, photos, etc. on the iPad - is it best to create a new combined Apple ID for the iPad and simply upload our music, photos, etc. via our laptop instead? Does this not then render the iCloud useless to us?

    And just in case you were wondering, installing one purchased copy on all the Macs you own is specifically called out as allowed in the Mac OS X Lion license.
    If you do not want to download multiple times, just copy the Applications -> Install Lion app to a safe place BEFORE you do the first install.  Then copy that copy to any Mac you own where you want to install Lion.

  • HT204053 We both use the same iPad my father and I as of today, because I am using it too from now on, but each time the ID & Password pops up it ask for his, how can I access mine, so it's my account and financials being used. Thanks to any of those gift

    We both use the same iPad my father and I as of today, as is letting me use it too from now on (sweet! ), I do not want to make a mistake and accidently use my father's ID & passwords (dohh ), but each time the ID & Password pops up it ask for his (???), how can I access mine, so it's my account and financials being used. Thanks to any of those gifted with this knowlegde... AMAKANGAROO

    In order to reliably save the info and be able to restore at a later date, you would need to use his AppleID.
    Switch to it on iTunes, back the iPad up and confirm the backup exists (Preferences / Devices), then switch to yours, wipe the iPad and start afresh. Will also wipe his apps, as they are tied to the AppleID as well.

  • HT201317 How do I use ICloud Photo stream on one computer with two differenet Apple Id's. My husband and I each have seperate ID's but one computer.

    How do I use ICloud Photo stream on one computer with two differenet Apple Id's. My husband and I each have seperate ID's but one computer.

    You have to have an iOS device (iPhone, iPad, iPod Touch) or Mac to create an iCloud account.  However, if you tell your friend to create a shared photo stream and turn on Public Website, he/she will then be able to send you a link that will allow you to view the photos on the internet using your web browser.  You would not be able to comment on the photos as this requires an iCloud account, but you would be able to view them.
    You can refer your friend to this link for assistance with this: http://help.apple.com/icloud/#mmc0cd7e99.

  • My wife and I each have an apple ID and share one macbook pro. Is it possible to use the iCloud on our shared macbook pro and our two separate iPhone 5's and not get each others information confused?

    My wife and I each have an apple ID and share one macbook pro. Is it possible to use the iCloud on our shared macbook pro and our two separate iPhone 5's and not get each others information confused?

    Once you setup your wife's account you can enable fast user switching to make it easy to switch accounts:
    OT

  • HT5622 How do I change the Apple id against a certain telephone number?  I have two iPhones and wish to use a different Apple id for each and confused as to how I do this?

    How do I change the Apple id against a certain telephone number?  I have two iPhones and wish to use a different Apple id for each and confused as to how I do this?

    Create a new Apple ID for the second phone. If you are setting the phones up as new phone enter the ID you want to use on each phone.
    If both phones are already signed in to one Apple ID then use the settings app to change Apple IDs on one phone.
    Settings > iTunes and App Store > tap on the Apple ID > sign out > sign in with alternate Apple ID.
    Note that if you have downloaded apps with the original Apple ID on the phone with the new Apple ID, those apps will still be associated with the old Apple ID and will require the old ID and password in order to update them.

  • I'm about to purchase Lion.  My husband and I each have a desktop, iPad and iPhone.  We currently use one Apple ID for iPad/phone purchases.  Can we purchase 2 copies of Lion with one Apple ID?

    I'm about to purchase Lion.  My husband and I each have a desktop, iPad and iPhone.  We currently use one Apple ID for iPad/phone purchases.  Can we purchase 2 copies of Lion with one Apple ID or do we have to use different Apple IDs for the purchase?  If we use the different Apple IDs can we still use the same ID for all of our purchases.

    And just in case you were wondering, installing one purchased copy on all the Macs you own is specifically called out as allowed in the Mac OS X Lion license.
    If you do not want to download multiple times, just copy the Applications -> Install Lion app to a safe place BEFORE you do the first install.  Then copy that copy to any Mac you own where you want to install Lion.

Maybe you are looking for