Similar to my easy one, but a bit different!

Post Author: cmainard
CA Forum: Formula
I thought I could use the same concept, but its not returning the expected results.
648300011064840015006586000010
In the example above the bolded detail is a summary field:
{DistinctCount of MoxyAllocation.PortID}
Here is the formula I'm attempting:
if DistinctCount ({MoxyAllocation.PortID}, {MoxyAllocation.OrderID})>=1 then  "0000" else if DistinctCount ({MoxyAllocation.PortID}, {MoxyAllocation.OrderID})>=10 then  "000" else if DistinctCount ({MoxyAllocation.PortID}, {MoxyAllocation.OrderID})>=100 then  "00" else if DistinctCount ({MoxyAllocation.PortID}, {MoxyAllocation.OrderID})>=1000 then "0"else "000000"
Basically I'm trying to get the line detail to shrink and grow to the right size... 

Post Author: SKodidine
CA Forum: Formula
Reverse the statements.
if DistinctCount ({MoxyAllocation.PortID}, {MoxyAllocation.OrderID})>=1000 then "0"if DistinctCount ({MoxyAllocation.PortID}, {MoxyAllocation.OrderID})>=100 then  "00" else if DistinctCount ({MoxyAllocation.PortID}, {MoxyAllocation.OrderID})>=10 then  "000" else if DistinctCount ({MoxyAllocation.PortID}, {MoxyAllocation.OrderID})>=1 then  "0000" else else "000000";

Similar Messages

  • I set up my new computer using the apple ID i always use, and then later migrated all my files from my old mac book to the same new one, but under a different user (same ID). how do i consolidate the two users on my new mac book?

    i set up my new computer using the apple ID i always use, and then later migrated all my files from my old mac book to the same new one, but under a different user (same apple ID). how do i consolidate the two users on my new mac book?

    Well if you use the Finder Go menu to Computer, a window opens up double click on your boot drive and then on Users folder, open the other user folder and open Public and drop your files into DropBox
    When you do this it will copy them and change the permissions and user assigned to it, so log into the other user and place them into your respective normal folders.
    Once you have all your files over and don't need the old user, use System Preferences > Accounts to delete it if you wish, however it's good two Admin accounts on the machine in case something bad happens in the other. Some people for security reasons on use a Standard account for most uses and a emergency Admin account.
    One can still do most Admin things in Standard user.

  • Please can you tell me if you have a similar fix to this one, but for Macs?

    Lightroom 5 crashes rating, flagging images | Windows

    You can find all available software for that printer here. 
    http://h20000.www2.hp.com/bizsupport/TechSupport/S​oftwareIndex.jsp?lang=en&cc=us&prodNameId=1140731&​...
    I hope you found this link helpful.
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • Tile vertically but a bit different

    I run an action which zooms out two times then goes to a previous document, ror 4 documents the last step is a Insert Menu Item (Tile Vertically) and what I get is this:
    http://www.pixentral.com/show.php?picture=1HkD8HTcb54umwVOUCLoUpWC4hVY1
    but I would like to have it like this:
    http://www.pixentral.com/show.php?picture=1STF2vUiQX4zIhrZ4glWEjPRe0LxG
    This was done by manually dragging the borders inwards and up and down.
    My question is: Can this be automated?

    Just a suggestion… Why not create a new temp doc (black bg)… Tile all 4 images in that then view full screen… No frames at all much nicer…
    And just for fun an open documents viewer…
    #target photoshop
    function softProofDocs(delay) {
         if (app.documents.length == 0) {
              alert('NO document open?');
              return;
         } else {
              app.bringToFront();
              var allDocs = app.documents;
              var docRef = app.activeDocument;
              screenMode('FullScreen');
              // Can't run menu item here (No menu)…
              if (isMac()) {
                   app.system("osascript -e 'tell application \"System Events\" to keystroke \"0\" using command down'");
              $.sleep(delay);
              for (var i = 0; i < allDocs.length; i++) {
                   if (allDocs[i] != docRef) {
                        app.activeDocument = allDocs[i];
                        // Ditto here…
                        if (isMac()) {
                             app.system("osascript -e 'tell application \"System Events\" to keystroke \"0\" using command down'");
                        $.sleep(delay);
              screenMode('Standard');
              app.activeDocument = docRef;
    softProofDocs(3000); // In milliseconds
    function screenMode(viewMode) {
         var desc = new ActionDescriptor();
         var ref = new ActionReference();
              var menuID = stringIDToTypeID( 'screenMode' + viewMode );
              ref.putEnumerated(charIDToTypeID( 'Mn  ' ), charIDToTypeID( 'MnIt' ), menuID);
              desc.putReference(charIDToTypeID( 'null' ), ref) ;
         executeAction(charIDToTypeID( 'slct' ), desc, DialogModes.NO);
    function isMac() {
      return /Macintosh/i.test($.os);
    Doing it this way looks nicer on the mac (sizing after fullscreen) I suppose for windows you could alter the sizes first then fullscreen loop…

  • ANOTHER forgotten passcode query...but a bit different...

    Hey guys,  I've had an iphone 5s as my work phone for the past couple of months now, used to have the standard 4 digit code, with the fingerprint.  We have an MDM software on the phones and we had to input a new 8 digit passcode!!!!
    Low and behold, i've switched it off...actuyally off...for the first time since we've put the codes in and yep...i've forgotten the passcode!!  Now i'm locked out of the phone, i would of tried the itunes restore but ALL of my backups are done via cloud and as such has never been on itunes.  Everytime i plug it in it just says 'cannot sync as you're locked out'
    Anything i can do - other than disect my brain to see where the f**** i left the passcode!

    You'll need to put it into recovery mode, then restore.
    When plugged into the computer, hold the home and power button until the apple logo appears.
    It should have a connect to itunes logo, then you restore in itunes.
    You will still be able to restore from icloud afterwards during the stup assistant

  • MySql will not start...This one is a bit different.

    I have the OSX Server version of MySql installed and it is now not starting up with the server. I have in /var/hostconfig MYSQLCOM set to NO and MYSQL set to YES. In my /Library/StartupItems it is empty and there is nothing in it. I think this may be my problem. I do not know how the files dissapeared and I know I did not remove them. Is there a way to reinstall the as MySql manager has the install button greyed out.

    1) MYSQLCOM is the startup item included with the version of MySQL installed from a package downloaded via MySQL. It's not native to OS X. So, setting this to NO is correct, but it would indicate that you've installed another version of MySQL as well, yes?
    2) /Library/StartupItems is not where all of the system service startup items live. /System/Library/StartupItems should have a MySQL directory and startup item in there.
    3) MySQL Manager's "install" button refers only to installing/initializing the databases for the first time.
    Does MySQL start when you start it via the command line? What command are you using to start it up? When you start it up, run "mysqladmin variables" on the command line (you might have to run "mysqladmin -u root -p variables"). On my OS X 10.4.6 Server, my version = 4.1.13a-log and version_comment = "Source distribution". Does that match your output?
    The last question would be, what does /var/mysql/<hostname>.err tell you about the attempt to start on boot? Is there anything in there at all?

  • Need to build a report similar to t-code  MCTA  but with some modifications

    HI ABAPers
    this query is as assignment for me (i am undergoing abap training)
    there is build in transaction in sap (MCTA) for SIS: CUSTOMER ANALYSIS SELECTION.
    THE DETIALS OF THIS TRANCTION ARE AS FOLLOWS.
    T-CODE:- MCTA
    Pacakage:- MCV
    Transaction text: SIS: Customer Analysis - Selection
    Program : RMCV0100
    Selection Screen: 1000
    i want to build a similar report as this one but in my report i want to enter more than one currency values in currency field (for ex: i want the report o/p for USD,INR & EURO on the same output screen)
    in the report (mcta) it accepts only one currency and gives the o/p for that currency only but i want it to accept 3 currency types and give me the output for all the 3 currency types.
    i have tried a lot but unable to find the solution.
    if anybody knows solution for this query then reply back to me
    i think i need to change some changes in the logic which extracts the data from the database but where to do and what logic to be implement iam unable to get that.
    waiting for ur early positive replys
    regards,
    maqsood

    hi
    thanx for ur reply.
    i think the select-options is the best way to get more then one currency values.
    but i need to know what code i have to write for display of this day.
    in the standard report MCTA there he is using only one currency. similarly i need to add 2 more columns for each currency in that same report o/p.
    how to do that can any body help me
    regards,
    maqsood

  • Getting redirect to work  -- easy one?

    Hopefully this is an easy one for someone to answer -- I'm simply trying to set up an action-mapping that performs a redirect instead of a forward. If I use the following xml in struts-config.xml (I'm using struts-faces), then everything "works":
    <action
    path="/search"
    type="com.wheels.struts.SearchAction"
    name="searchForm"
    scope="request"
    input="search">
    <forward
    name="results"
    path="faces/results.jsp"
    />
    </action>
    I get an error if I change the forward to be a redirect, however, as in:
    <action
    path="/search"
    type="com.wheels.struts.SearchAction"
    name="searchForm"
    scope="request"
    input="search">
    <forward
    name="results"
    path="faces/results.jsp"
    redirect="true"
    />
    </action>
    The error I get is:
    java.lang.IllegalStateException: Cannot forward after response has been committed
    Any thoughts on this one? Is there something I need to change in my Action class to properly redirect instead of forward? Something in struts-config.xml??
    Thanks very much.
    -Adam

    I would agree this is probably an easy one, but only on the STRUTS-USER mailing list :-). To subscribe, send an empty message to [email protected] Alternatively, you can find links to various archive sites for previous postings on this list at:
    http://nagoya.apache.org/eyebrowse/SummarizeList?listId=42
    Craig

  • I had an in-game purchase that failed to give me my items purchased, this is usually an easy fix, but this one was through EA, I would like to know what steps I can take to rectify this.  (I realize that NOT playing EA games is the best answer...)

    I had an in-game purchase that failed to give me my items purchased, this is usually an easy fix, but this one was through EA, I would like to know what steps I can take to rectify this.  (I realize that NOT playing EA games is the best answer...)

    Can you try to restore your inApp?
    If that doesn't work:
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • I am concerned about the health of my current computer but have not yet made the commitment to a new one, but: 1) How can I transfer my iTunes account to a new computer when I get one... and 2) What can I do if my current computer suddenly implodes and I

    I am a bit of a computer/Internet/iTunes dummy....
    I am concerned about the health of my current computer but have not yet made the commitment to a new one, but:
    1) How can I transfer my iTunes account to a new computer when I get one...
    and
    2) What can I do if my current computer suddenly implodes and I have not yet 'copied/'saved'/otherwise protected my account, as is? -- I have already had my computer crash once and had one of your people help me restore all of the paid for songs (none of the uploaded from my own collection of CD songs, of course, so I had to spend a long time rebuilding that) -- and I believe I was told you could only help me recover that material one or two times altogether, no?
    WithOUT purchasing a Mach or iCloud (I actually think I have one of the later, but rarely have checked it) account, is there anything I can do to responsibly protect my account?
    Thanks for any time taken on this!!!

    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    Both methods should give the new computer a working clone of the library that was on the old one. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    Note if you have iOS devices and haven't moved your contacts and calendar items across then you should create one dummy entry of each in your new profile and iTunes should  merge the existing data from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library or a backup then then see Recover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data.
    tt2

  • I have one computer and 2 iphones i want to sync music on. but we want different music on the phones. is there a way i can make 2 libraries on 1 itunes?

    i have one computer and 2 iphones i want to sync music on. but we want different music on the phones. is there a way i can make 2 libraries on 1 itunes?

    You can create an alternate library: http://support.apple.com/kb/HT1589
    But it is easier to create one or more playlists and sync by selected playlists.  You can have some playlists for both phones and others for just one phone.
    Here are some other tips:  How to use multiple iPods, iPads, or iPhones with one computer, http://support.apple.com/kb/HT1495

  • I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?

    Hello everybody,
    I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?
    I share one Itunes account with other people from my family and one person would like to keep the same songs on the new Ipod as the ones which were on the old one.
    Thanks in advance for your answer.
    Yan

    Hello Chris,
    Thanks for your answer. I was hoping for an easier answer. Too bad there is no drag and drop solution, it would have been much easier.
    Thanks for answering so fast.
    Bye.
    Yan

  • How do i download itunes on one computer (64-bit) for a different computer(32-bit)?

    How do I download itunes on one computer (64-bit) for a different computer (32-bit)?  The download page automatically detects my computer as 64-bit, but I want to download the installer for a different computer that is 32-bit.

    I ended up changing the user agent reported by my web browser to fool the website into thinking I was using a different web browser. On Google Chrome, press Ctrl-Shift-I to open the Developer Tools, then click the gear in the lower-right corner of the window. Check "Override User Agent" then select "Internet Explorer 7" from the drop-down.
    Once upon a time, you could download the 32-bit version of iTunes from http://www.apple.com/itunes/affiliates/download/, but the download link hasn't been updated recently and points to an old version of iTunes.
    If, like me, you think Apple should provide a link to the 32-bit version from the main download page, I would recommend giving Apple your feedback.

  • Opening my Ipad I have an exchange window asking me my password. I'm (almost)sure I type the good one but it doesn't accepIt it. Unable to go around that window so IPad useless. How can I check/change my password with my IPad (stuck) or my home computer ?

    Opening my iPad2 I have an "Exchange " window asking me my password. I'm (almost) sure I type the good one, but it doesn't accept it. Unable to go around it, so iPad useless... How can I recover/check my password on my home PC (or make that window disappear ?

    That's one of the weird things.. it recognizes it maybe 10% of the time. And usually, only after I do the two-button reset. Problem is.. since it won't charge above 2%, anytime I try to do a restore or anything like that using iTunes, my device shuts off and I lose whatever progress I'd made.
    So, an update... after reading through a bunch of similar complaints (there are literally 1000's of them so there's NO WAY this isn't somehow ios7 related, thanks a lot APPLE ) I decided to try a restore in recovery mode. After 3 hours and several disconnections... I ended up having to just set it up as a new iPad, as the restore did nothing. Weirdly though... as I was doing the restore in recovery mode.. I noticed I'd gotten up to a 10% charge.. higher than it's been since September, so after setting it up as a new device, I turned it off and plugged it in using the wall charger. 2 hours later and I was up to 38%. Still not great, as my iPad, before ios7 could've fully charged twice in the amount of time it took for me to now get 28% more of a charge. And that's with a fully cleaned out device.. so that really ***** and I'm now more confused than ever.
    But I'm gonna leave it overnight charging and see what I come up with tomorrow. Sadly, when I paid $600 for it in February, I never expected to have to play "wait and see" with it...

  • When I burn a disc from a playlist in iTunes, the track names and artist info does not display on the disc when friends view/listen to it. This probably is an easy fix, but I need some advice.

    When I burn a disc from a playlist in iTunes on my MacBook, the track names and artist info does not display on the disc when friends view/listen to it. This probably is an easy fix, but I need some advice.

    No, this standard has been implemented for several decades.
    How iTunes remembers audio CDs - http://support.apple.com/kb/TA27785
    It is just conceivable you burned a CD that exactly matched one already in the Gracenote database.  Gracenote uses track count and duration to decide what CD it is you have in a computer.  If you have one that matches that it will label it.  You could conceivably even have one that matches it that is not the correct one.
    This script will only work on Macs:
    http://dougscripts.com/itunes/scripts/ss.php?sp=cdtexttocdinfo - script to use CD-text file on CD to label CD in iTunes

Maybe you are looking for

  • My firefox toolbars are not visible when I open firefox

    All of my firefox toolbars are not visible when I open firefox. I get the tabs but no command menu no search bar or any other toolbar icons help!! == This happened == Every time Firefox opened == when I logged on one day about 2 weeks ago == == User

  • Sort By Date Not Working

    I recently moved. Unplugged my computer, took it to a new apartment, set it all back up. When I brought up Mail, I received new messages -- but they came in the middle of the list. Having always sorted my mail by date, this was odd. I checked my IMAP

  • Workflow in TRM

    Hi, I have implement TRM in our system. But not idea in workflow in TRM. Please guide us of workflow in TRM and also any document or help about workflow, please give me link or send document in my account id. Regards, Vishal Patel

  • ORA-27140: attach to post/wait facility failed

    Hi We are facing following probelm on hp 11i /oracle 9i system ##ORA-27140: attach to post/wait facility failed Details Log As Below BR0002I BRARCHIVE 6.40 (15) BR0006I Start of offline redo log processing: adqqukeg.sve 2005-08-20 11.59.10 BR0280I BR

  • Help on uncontrollable air?

    On start up my macbook air is looking for a blue tooth key board to connect. I cannot use the cursor nor can I shut it down or even stopit looking for the keyboard. Whats happened?