How to use the distinct key in formula field in SAP Crystal Reports

I want to use the distinct key in formula field in SAP Crystal reports.
When i'm using it shows an error.
Please suggest me....

Hi,
Use DistinctCount keyword directly for your calculation instead of count(distinct(....
Alternatively, if you want to avoid duplicate records, under "File" > "Report Options" make the 'Select Distinct Records' as True.
Thanks,
Raghavendra

Similar Messages

  • Hi fellow apple guys, i have this problem. Hope you can help me. I don't know how to use the function keys (F1 to F12) on my macbook air. Pls help

    Hi fellow apple guys, i have this problem. Hope you can help me. I don't know how to use the function keys (F1 to F12) on my macbook air. Pls help

    Out of the box, to use the function keys as function keys, hold down the fn key when you press the key. Otherwise, you get the picture function on the key. You can reverse this behavior in the Keyboard system prefs.

  • How to use the Function keys as function keys instead of action keys?

    When I press F1 or any of the other F keys it does what the symbol says on the key (volume/skip track etc).
    How do I actually use the F keys and not the symbols?

    Hi again John,
    ...is there a way to switch that around so I use the "fn" key for sound etc?
    Do the following:
    1. Fire up System Preferences
    2. Select Keyboard & Mouse
    3. Select the Keyboard tab.
    4. Tick the "Use all F1, F2, etc. keys as standard function keys" box.
    That's it. You have now reversed the default use of the function keys. If you need to increase/decrease sound, brightness etc then press 'fn' plus the appropriate function key.
    Kryten

  • SSL: How to use the same key pair for ABAP & JAVA?

    Hello,
    I want to setup an XI (3.0 on Netweaver04)installation in the way, that ABAP AS and JAVA AS use the same key pair for SSL. My problem is to define the same private key on ABAP and JAVA. With the JAVA Administrator I am able to define or import a private key. But I could not find a possibility in ABAP to manage private keys in order to use the same on as in JAVA. What is the procedure for this?
    Thanks and Regards,
    Frank Tottleben

    Hello,
    I want to setup an XI (3.0 on Netweaver04)installation in the way, that ABAP AS and JAVA AS use the same key pair for SSL. My problem is to define the same private key on ABAP and JAVA. With the JAVA Administrator I am able to define or import a private key. But I could not find a possibility in ABAP to manage private keys in order to use the same on as in JAVA. What is the procedure for this?
    Thanks and Regards,
    Frank Tottleben

  • How to use the windows key (super or hiper) as a keystroke modifier?

    I can associate the windows key (KeyEvent.VK_WINDOWS) as a regular key on a KeyStroke without problem.
    It can be alone or with a modifier, like CTRL+WIN
    KeyStroke.getKeyStroke( KeyEvent.VK_WINDOWS, InputEvent.CTRL_DOWN_MASK )My doubt is: Is there a way to use it as a modifier?
    In other words, is it possible to create the KeyStroke using the windows key with any other? e.g. "WIN+K"
    Thanks,
    Henrique Abreu

    Thanks a lot for the quick answer.
    Your KeyboardCommands class doesn't do it (but gives the idea), because it can only trigger an action on one key (like KeyStroke, that handles key+modifier).
    I could make big changes on it to add the functionality of triggering an event on a combination of keys, which would solve my problem.
    Although this solution is not so good because we totally give up of actions in Swing, which I mean stuff like actionMaps, InputMaps WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, etc.
    If KeyStroke class really doesn't provide this (unbelievable!), I wonder if there is a way to extend and enhance it? (or AWTKeyStroke)
    Can anyone say if its possible, before I go deep and find out that it isn't?
    Another secondary question (that I think doesn't worth a new topic), what's the META_DOWN_MASK or META_MASK? or where is this key?
    Henrique Abreu

  • How  to use the RSA  key files generated by Crypto++ in java

    Hi - Good day to all :)
    I have two RSA key files(private key file and public key file) generated by Crypto++ 5.2.1:
    code here:
    void GenerateRSAKey(unsigned int keyLength, const char *privFilename, const char *pubFilename, const char *seed)
         RandomPool randPool;
         randPool.Put((byte *)seed, strlen(seed));
         RSAES_OAEP_SHA_Decryptor priv(randPool, keyLength);
         HexEncoder privFile(new FileSink(privFilename));
         priv.DEREncode(privFile);
         privFile.MessageEnd();
         RSAES_OAEP_SHA_Encryptor pub(priv);
         HexEncoder pubFile(new FileSink(pubFilename));
         pub.DEREncode(pubFile);
         pubFile.MessageEnd();
    }generated private key is:
    30820273020100300D06092A864886F70D01010105000482025D3082025902010002818100E19891D888651221AF315B369873F01910D097F554723EE8748FA230F2B954EBEFC57CB402DD03333BA9514AB5256EF92BE714C710D166A1D86CB7A11EFB4499506826AB873F5036B92F07BBB3ABB8F562646DE6E11031C46542633605FDE4A31E0E0A8651B4BC7743C18266D664E59E713D7595ED3D3B6C2F94C6072E276171020111028180425A0CC7372CC918F74AC07978221970C8B5D25736F46CDAF51B2FB40B27735473B28E16D3AA6A5A5CD7724326382FB2B28F4258AA97F1026CD4AE7AAEC25F77D54DF69BB3979E2893EBB071DA5752871BC8C60F9B5546C466F3103884D6B67FADCD51B17899991989507CB16F45DD76EC0DEDA1BD979ED1A101179F9687E9E5024100FFCAAEF814F12DCBDF20D4CFDD5007738DAAE45AE7EC2FD8E23A9EFCA85FADCAF61B03BFEA6FE6023E78700F804C4C275375A85BC367FE39D5FB2E0F0A4555F7024100E1C797A20FB108ADAFECDB025665FF500FDBB4F0829BAAE95833C046005DCA593F6C2437CD3A9AB7CC04372F422B0EE2C7FED87AA53821366962AE0CBDAD89D702402D23C48621D035421851167F08F00150A08791B5B074F96282469486F0895AE794D7973FFC31DD4BB0ABD78A43D13A9D8732E1799AF43BEC16B3DAF3986696B30240351FE7716D1A98A156921569F6361DF4B86FEE56B551CDDC8D395A6AD2E8E4513C1971EF031CD91C3000FDED00829A173E1DD895540D34FDBE71925D59CE7AC9024014A4347A1E7408FBB0A9AE5064FA58CAF2BCA5C00B8082A46EECABFA5CBF61364FEE81E2C049F399A2F601C802DD54A6D9340FABE62D6D1F913026C8B3764AFEI use this key in java
    BufferedInputStream input=new BufferedInputStream(new FileInputStream("privateKey"));
              int size= input.available();
              byte[]buffer=new byte[size];
              input.read(buffer);
    X509EncodedKeySpec lX509EncodedKeySpec = new X509EncodedKeySpec(buffer);
              PrivateKey lPrivateKey = KeyFactory.getInstance("RSA").generatePrivate(lX509EncodedKeySpec);there is a exception,at generatePrivate() method
    at sun.security.rsa.RSAKeyFactory.generatePrivate(RSAKeyFactory.java:294)
         at sun.security.rsa.RSAKeyFactory.engineGeneratePrivate(RSAKeyFactory.java:171)
         at java.security.KeyFactory.generatePrivate(KeyFactory.java:322)
         at test.Main.main(Main.java:27)any body can help me?

    X509 is for public keys, not private keys. You need PKCS8 using PKCS8EncodedKeySpec on the hex decoded private key string.
    Your method for reading the private key from the file is flawed. The method available() does not guarantee to give you the file length. This is easy to prove since files can be longer than Integer.MAX_VALUE and available() returns an 'int'. To get the file length use File.length() which returns a 'long'. Also, reading from an InputStream using
    input.read(buffer); does not guarantee to read all the bytes. For that you need to use something like DataInputStream.readFully().

  • How to use the bootp_enabled key with dscl command create

    During Netboot service configuration I wanted to do it right and followed the suggestions in "System Imaging and Software Update Administration" (page 22):
    +"To prevent the NetBoot BootP server from responding to+
    +requests for IP addresses, use the dscl command-line tool to open the local folder on the NetBoot server and add a key named bootp_enabled with no value to the /config/dhcp/ folder."+
    so I first tried to read the local directory:
    xadmin$ *sudo dscl . -read /config/dhcp/*
    AppleMetaNodeLocation: /Local/Default
    RecordName: dhcp
    RecordType: dsRecTypeNative:config
    and then to create the key:
    xadmin$ *sudo dscl . -create /config/dhcp/ bootp_enabled*
    * Uncaught Exception: <NSInvalidArgumentException> ([DSoDataNode initWithDir:value:] value is not a valid NSString nor NSData)
    but did not succeed. Somthing must be wrong with the syntax. Tried several (Config, dhcp noslash, bootp_enabled:) but nothing helped.
    You dscl experts - please enlighten me!
    Btw. Apple why not include to correkt syntax in a manual?

    worked for me, too
    Thanks a lot,
    Willi

  • How to use the command key with shortcuts/CS6?

    Since ID2 I  am using the combination Command+Escape to define a shortcut.
    Buy this time Escape could not be tagged.
    I was trying to remember if those years ago I modified escape key in some place (system preferences/keyboard) but neither could find a path to reconstruct this.
    Also check the escape key in other shorcuts to avoid problem but no way.
    Searched the forum but could not find something helpful
    http://forums.adobe.com/message/2977659

    [Jongware] wrote:
    I guess that makes it an InDesign problem ...
    Searching yesterday found it is an old topic, but not related to Adobe but to Apple: including thriller plots like that they are preserving the combination command+escape for future projects...
    https://discussions.apple.com/thread/3438952?start=0&tstart=0
    https://discussions.apple.com/thread/3569274?start=0&tstart=0
    Also it has been resolved by programmers with very interesting formulae like the «Escape Key Liberator» (sic):
    http://manytricks.com/blog/?p=1664
    In my situation it was enough to reset the Apple Keyboard shortcuts...
    Thank for your reply.

  • [Bug?] How to use the Tab key in forms

    Ahoy!
    The latest release of Photoshop has "broken" the native behavior of the Tab key in html panels. I'm not sure if this is a bug or just a new API I need to incorporate.
    Expected behavior:
    1. Focus into text field in a form
    2. Hit the Tab key
    3. The next field is focused.
    Actual behavior
    1. Focus into text field in a form
    2. Hit the Tab key
    3. Photoshop hides the application UI (Photoshop hotkey tab behavior).
    Anyone happen to know if there's something that can be done about this?

    Bug is very annoying for our users when they try to input their usernames and passwords to login (often) and also when they're filling out a large form with four fields in it.
    Hope it is fixed soon or a work around provided.
    Tom Wrenn
    Frontend Engineer
    CreativeWorx

  • Urgently, how to use the EEWB to ad new field in the business partner page

    Hello All
    I am working on CRM 5.0 EEWB
    I am trying to add new field in the business partner page I followed the steps for creating the project and the extension but I faced some problems
    1-I chose the package BBP_BUPA_MAIN    BBP Business Partner General
    I created two transport requests for the workbench and the customizing
    2- I created an extension with EEW Bus. Object: BUPA and extension type: ADD_NEW_FIELDS
    3- I got an error that <b>"Object DOMA ZBU_009XN27S is in the name range reserved for customers. The object cannot be assigned to package BBP_BUPA_MAIN, since it belongs to a different name range or namespace"</b>
    I tried to change the package but the same problem occurs and if I choose a custom made business package I get a similar error but, before the wizard starts
    I want to know the exact steps to create new field using the EEWB
    Regards
    Jacopo Francois

    Hi,
    Error info: "Object DOMA ZBU_009XN27S is in the name range reserved for customers. The object cannot be assigned to package BBP_BUPA_MAIN, since it belongs to a different name range or namespace"
    Clearly states that you need to assign some different name to the package which is not reserved by SAP as Z### is already reserved by SAP and thus you will not be able to create the enhancement in the same.
    Best Regards,
    Pratik Patel
    <b>Reward with Points</b>!

  • How to use the Compounding Key in BPC10NW like BW info objects?

    Hi experts.
    We are longing the suitable solution in BPC-NW 10.0 to deal with compounding key like BW info objects.
    We want to define the dimension with compounding key MATERIAL and PLANT, but BPC-NW 10.0 doesn't support it. Therefore we just defined the dimension "PLANT" as entity and "MATERIAL" as user-defined dimension with concatinated key "Material code-Plant code" as ID.
    For instance:
    -[Dimension PLANT] as type-E (entity)
    ID
    1000
    2000
    3000
    -[Dimension MATERIAL] as type-U (user-defined)
    ID        ENTITY MATNR
    1000-AAAA 1000   AAAA
    1000-BBBB 1000   BBBB
    2000-AAAA 2000   AAAA
    2000-CCCC 2000   CCCC
    3000-BBBB 3000   BBBB
    3000-CCCC 3000   CCCC
    (ENTITY and MATNR were defined as properties, and ENTITY filled the each member including dimension Plant)
    Now we built a input form with following conditions:
    -Page axis : ACCOUNT=Revenue, etc...
    -Row axis : ENTITY=1000 or 2000, MATERIAL=all
    -Column axis : TIME=Jan, Feb, Mar...
    The result report came out as follows:
    Revenue
    PLANT  MATERIAL   Jan Feb Mar ...
    1000   1000-AAAA  0   0   0   ...
    1000   1000-BBBB  0   0   0   ...
    1000   2000-AAAA  0   0   0   ...
    1000   2000-CCCC  0   0   0   ...
    1000   3000-BBBB  0   0   0   ...
    1000   3000-CCCC  0   0   0   ...
    2000   1000-AAAA  0   0   0   ...
    2000   1000-BBBB  0   0   0   ...
    2000   2000-AAAA  0   0   0   ...
    2000   2000-CCCC  0   0   0   ...
    2000   3000-BBBB  0   0   0   ...
    2000   3000-CCCC  0   0   0   ...
    But we expected to have a report restricted MATERIAL with their property on specified PLANT in member selector such as:
    Revenue
    PLANT  MATERIAL   Jan Feb Mar ...
    1000   1000-AAAA  0   0   0   ...
    1000   1000-BBBB  0   0   0   ...
    2000   2000-AAAA  0   0   0   ...
    2000   2000-CCCC  0   0   0   ...
    How do we obtain the expected result? Please give us the good solution!
    Best regards,
    Masa

    Hi Vadim.
    GREAT! Our requirement is fulfilled by that way you described. Special thanks for your help!!!
    Best regards,
    Masa

  • I can not find how to use the basic Mac air keyboard. where do i find it or do a tutorial board

    I am new to the Mac worls and hardly used a PC . I used a Blackberry. How can i find how to use the macair key board. I can not get the plus sign or the brackets on my leyboard to work. The option key is called the atl key.. There is no easy guide for how to use all the Buttons on the Key board. where do i find them

    Hello Sanjit_Das:
    sorry for my english again !.
    My purpose is almost the same as this:
    https://forums.adobe.com/message/6137964#6137964#6137964
    But I do not know which  path must specify when the video is uploaded to assets:
    Sorry to ask something so absurd.
    I tried putting all
    <source src = "assets / Myvideo.mp4" />
    not working
    <source src = "C: \ Users \ Angel \ Downloads \ NEW \ pruebamusevideo \ assets/Myvideo.mp4">
    not work.
    etc
    Presenting want to work from any computer, DVD, memory stick ...
    I'm going crazy.
    I know it's something about the route.
    From muse Vimeo links to work, but when I export them to HTML not working. I guess it's a problem related to the same.
    Thank you very much again.

  • How to use a table- valued function as a datasource for SSRS report?

    CREATE FUNCTION [dbo].[GetNetSheetRegionNetPerCapitaRow](@WeekBeginDate smalldatetime)
    RETURNS @RegionNetPerCapitaRow TABLE 
    (WTD1 DECIMAL(18,6),PYWTD1 decimal(18,6),percentDiff1 float,diff1 float,WTD2 decimal(18,6),YTD2 decimal(18,6),percentDiff2 float,Diff2 float,YTD3 decimal(18,6),PYTD3 decimal(18,6),percentDiff3 float,Diff3 float)
    how to use the above function as a data source for SSRS report instead of a stored procedure ?

    Hi,
    In the Dataset - > Query Type - >  Text - >
    SELECT * FROM [dbo].[GetNetSheetRegionNetPerCapitaRow](@WeekBeginDate)
    sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **.

  • How to use the validation work in Both TAB and Mouse keys in Forms6i

    Hi,
    I have a validation script once it's validated it should execute the query.But using When-Validate-Item i can't use execute_query.I am able to use the validation in Key-Next-Item trigger but if the user moves the cursor using mouse then it's not working.
    How to use the validation script working in Both Scenarios(Tab and Mouse keys).
    Can anyone please give inputs to rectify the above issue?.

    So you have multiple fields, but on at least one of them if it's valid you immediately want to execute the query?
    You could create a hidden field in a control block Query_Now default 'N'. In a WHEN-VALIDATE-ITEM on your item, if it's determined to be valid, then set Query_Now to 'Y'.
    In a WHEN-NEW-ITEM-INSTANCE at block level, check if Query_Now is 'Y'. If it is then execute the query (and set it back to 'N').

  • How do I delete Windows 7 from Paralells so that I can use the Product Key on a different computer?

    I bought Windows 7 to install on my Mac via Paralells. When I wasn't home, my brother took it and installed it on his computer. Now, I was able to install Windows 7 on my computer but I cannot activate it, since I can only use the Product Key for one computer. How can I get the Product Key deactivated so that I can use it on my computer?

    Please post Parallels related questions on the Parallels forums.  Apple Communities only provide support for Apple products:
    http://forums.parallels.com

Maybe you are looking for

  • Flow of order

    Hello, I want to know the flow of order and confirmation how to see it Manish

  • Transfering tunes from one IPod to another IPod

    how can I transfer tunes from an old Ipod to my new Nano. The tunes are not in my computer. They were uploaded to my old IPod from CDs.

  • Editing a Smart Collection

    Is it possible to edit a smart collection after you initially create it?  Or is it something you simply have to create all over again if you want to add a search parameter to it? I have created 132 smart collections for a specific event.  One for eac

  • WRT310N - Access restriction not functioning by MAC address

    I am trying to block internet access on my kids computer so they can do homework weekday nights. I have it set to Deny  on a specific MAC address (yes, I double checked the MAC ID), for specific hours during the week. Yet the internet access still ex

  • Phone shutting down with 75% battery life left.

    Hello, I've had my iPhone 3GS for 1 month and it's developed a problem. The phone shuts down, and won't let me restart it. Holding down the power button and home button doesn't revive it, not matter how long I hold it on. If I plug it into charge, I