Error with doing sum of distinct value and displaying of data in SSRS

from the picture each food is 1 month. when the report if i put sum(output) so month 1 = 10 month 2 =20 month 3 =30. when i collapse the thing i want to see 10+20+30. but however it shows (10*6)+(20*6)+(30*6)=360.but
the correct value should be 60.. i tried the row id.. it is able to give me the value of 60 when i collapse the things but when i expand the thing only the first row is shown, i.e only spinach is shown.
furthermore I cannot use aggregate within a n aggregate  :  sum(first(output))..
Is there anyway to achieve sum(first(output))  in another way ?
Anyone know how to show this?

You need to add group total in the tablix and bring the running count in the group cell. Say for Month 1 the max running count is 6. Bring that 6 to the group row. Try using
PREVIOUS function/Custom Code.
Refer this link
http://technet.microsoft.com/en-us/library/ms170712.aspx
Regards, RSingh

Similar Messages

  • Updated document about QuickTime errors with After Effects (re: H.264 and hyperthreading)

    I just updated "troubleshooting QuickTime errors with After Effects CS5, CS5.5, and CS6" with information about hyperthreading and Apple's H.264 encoder.
    The gist is that Apple's H.264 exporter component for QuickTime fails when the computer has a large number of CPUs.

    No, this applies to any QuickTime H.264 export. You can export H.264 in a QuickTime .mov wrapper out of AME, too, and it will have this problem.
    The various H.264 encoding presets (for YouTube, Blu-ray, Vimeo, iPad, etc.) don't use the H.264 QuickTime component, so this isn't relevant to them.
    This problem is just relevant to choosing Apple's H.264 as the video codec when choosing QuickTime as a format. This applies to all software that uses QuickTime, by the way, not just Adobe software.

  • List Box showing Value and Display members?

    Ok this is a CONCEPT problem (the code is not professional, just read it for the concept, though it does compile and run).
    Right, I have asked many people on IRC and no one is giving me a straight answer lol so maybe some professionals can help me.
    I am trying to use a Datasource property for my combobox. This is so I can just pass an entire KeyValue pair with indexes and values to be shown in the listbox.
    Creating the keyvaluepair as a WHOLE and passing that to datasource property works perfectly.
    Creating a keyvaluepair PROCEDURALLY (in a loop or w/e) ends in the datasource property ToString()ing it, list box items show BOTH value AND display members in square brackets as an entire option.
    NOTE: Getting the lsitbox.value results in ONLY the valuemember being returned even though the listbox shows both the valuemembers AND the displaymember? it knows they are different?
    Now, I dont want any alternatives or comments about the quality of the code, all I want to know is WHY is it doing this, it seems compeltely illogical that the same TYPE and Values and can different Effects within the datasource property? Its like it knows
    it was built procedurally?
    Anyway here is some code for reference:
    // Windows Form
    namespace skbtInstaller
    public partial class frmMainWindow : Form
    public frmMainWindow()
    InitializeComponent();
    // coxArmaPath = Combo Box (simple drop down)
    this.cBoxArmaPath.ValueMember = "Key";
    this.cBoxArmaPath.DisplayMember = "Value";
    public void addServerPathItem(String Key, String Value)
    this.cBoxArmaPath.Items.Add(new KeyValuePair<String, String>(Key,Value));
    // This works fine, only the "DisplayMember" is displayed and the "ValueMember" is hidden.
    // This acts differently with the same types???
    public void setServerPathDatasource(List<KeyValuePair<String, String>> source)
    this.cBoxArmaPath.DataSource = new BindingSource(source, null);
    public class skbtServerControl
    private frmMainWindow frmMainWindowHandle;
    public void refreshformWindow()
    // Clear Drop Box (empties drop box)
    this.frmMainWindowHandle.clearPathBox();
    //skbtServerConfig is very simple property object
    foreach (KeyValuePair<String, skbtServerConfig> pair in CoreConfig.getServerConfigList())
    // Populate Drop Box
    this.frmMainWindowHandle.addServerPathItem(pair.Key, pair.Value.getTextualName()); // this works as intended
    // cBox gets items like: Some Display Text, Some Display Text, Some Display Text (PERFECT!)
    // This works absolutely fine. ValueMembers are hidden.
    public void refreshformWindowWithSTATICDatasource()
    // Clear Drop Box
    this.frmMainWindowHandle.clearPathBox();
    var pathDataSource = new List<KeyValuePair<String, String>>()
    new KeyValuePair<String, String>("testKey1", "somevalue1"),
    new KeyValuePair<String, String>("testKey2", "somevalue2"),
    new KeyValuePair<String, String>("testKey3", "somevalue3")
    // Populate Drop Box
    this.frmMainWindowHandle.setServerPathDatasource(pathDataSource);
    // cBox gets items like: Some Display Text, Some Display Text, Some Display Text (PERFECT!)
    // ** HERE IS THE PROBLEM?? **
    // This creates a type that seems different to the above function which works fine...
    public void refreshformWindowWithDatasource()
    // Clear Drop Box
    this.frmMainWindowHandle.clearPathBox();
    var pathDataSource = new List<KeyValuePair<String, String>>();
    //skbtServerConfig is very simple property object
    foreach (KeyValuePair<String, skbtServerConfig> pair in CoreConfig.getServerConfigList())
    pathDataSource.Add(new KeyValuePair<String, String>(pair.Key, pair.Value.getTextualName()));
    // Populate Drop Box
    this.frmMainWindowHandle.setServerPathDatasource(pathDataSource);
    // cBox gets items like [asjAETJQ5785d45,Some Display Text], [asawfgQ5785d45,Some Display Text], [asjAhrrQ5785d45,Some Display Text]
    // ????? surely this function should act exactly like the function above??
    Thanks!
    (I have posted on codeproject too, will condense any replies).
                 

    Thanks Michael!
    I did debug this and it turns out when i set a new BindingSource to the combo box, indeed the DisplayMember gets reset. Oddly though, the ValueMember stays the same.
    I have fixed this with setting the Members before every new bindingSource is set to the combobox, strange that only the displaymember is reset?
    For reference, the new resolved code: (this compiles albeit with designer components placed)
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    namespace etstapp1
    public partial class Form1 : Form
    private skbtServerControl sc;
    public Form1()
    InitializeComponent();
    this.sc = new skbtServerControl(this);
    // coxArmaPath = Combo Box (simple drop down)
    this.cBoxArmaPath.ValueMember = "Key";
    this.cBoxArmaPath.DisplayMember = "Value"; // This doesnt seem to stick after the first datasource set??
    public void addServerPathItem(String Key, String Value)
    this.cBoxArmaPath.Items.Add(new KeyValuePair<String, String>(Key, Value));
    // This works fine, only the "DisplayMember" is displayed and the "ValueMember" is hidden.
    // This acts differently with the same types???
    public void setServerPathDatasource(List<KeyValuePair<String, String>> source)
    this.cBoxArmaPath.DisplayMember = "Value"; // fix datasource problem
    this.cBoxArmaPath.ValueMember = "Key"; // fix datasource problem
    this.cBoxArmaPath.DataSource = new BindingSource(source, null);
    public void clearPathBox()
    if(this.cBoxArmaPath.DataSource == null){
    this.cBoxArmaPath.Items.Clear();
    else
    this.cBoxArmaPath.DataSource = null;
    private void btnStatic_Click(object sender, EventArgs e)
    this.sc.refreshformWindowWithSTATICDatasource();
    private void btnNormal_Click(object sender, EventArgs e)
    this.sc.refreshFormWindow();
    private void btnDynamic_Click(object sender, EventArgs e)
    this.sc.refreshformWindowWithDatasource();
    public class skbtServerControl
    private CoreConfig CoreConfig;
    private Form1 frmMainWindowHandle;
    public skbtServerControl(Form1 f){
    this.frmMainWindowHandle = f;
    this.CoreConfig = new CoreConfig();
    public void refreshFormWindow()
    // Clear Drop Box (empties drop box)
    this.frmMainWindowHandle.clearPathBox();
    //skbtServerConfig is very simple property object
    foreach (KeyValuePair<String, skbtServerConfig> pair in CoreConfig.getServerConfigList())
    // Populate Drop Box
    this.frmMainWindowHandle.addServerPathItem(pair.Key, pair.Value.getTextualName()); // this works as intended
    // cBox gets items like: Some Display Text, Some Display Text, Some Display Text (PERFECT!)
    // This works absolutely fine. ValueMembers are hidden.
    public void refreshformWindowWithSTATICDatasource()
    // Clear Drop Box
    this.frmMainWindowHandle.clearPathBox();
    var pathDataSource = new List<KeyValuePair<String, String>>()
    new KeyValuePair<String, String>("testKey1", "somevalue1"),
    new KeyValuePair<String, String>("testKey2", "somevalue2"),
    new KeyValuePair<String, String>("testKey3", "somevalue3")
    // Populate Drop Box
    this.frmMainWindowHandle.setServerPathDatasource(pathDataSource);
    // cBox gets items like: Some Display Text, Some Display Text, Some Display Text (PERFECT!)
    // ** HERE IS THE PROBLEM?? **
    // This creates a type that seems different to the above function which works fine...
    public void refreshformWindowWithDatasource()
    // Clear Drop Box
    this.frmMainWindowHandle.clearPathBox();
    var pathDataSource = new List<KeyValuePair<String, String>>();
    //skbtServerConfig is very simple property object
    foreach (KeyValuePair<String, skbtServerConfig> pair in this.CoreConfig.getServerConfigList())
    pathDataSource.Add(new KeyValuePair<String, String>(pair.Key, pair.Value.getTextualName()));
    // Populate Drop Box
    this.frmMainWindowHandle.setServerPathDatasource(pathDataSource);
    // cBox gets items like [asjAETJQ5785d45,Some Display Text], [asawfgQ5785d45,Some Display Text], [asjAhrrQ5785d45,Some Display Text]
    // ????? surely this function should act exactly like the function above??
    public class CoreConfig
    public Dictionary<String, skbtServerConfig> getServerConfigList(){
    return new Dictionary<string, skbtServerConfig>()
    {"somekey1", new skbtServerConfig("somename1")},
    {"somekey2", new skbtServerConfig("somename2")}
    public class skbtServerConfig
    private String name;
    public skbtServerConfig(String name)
    this.name = name;
    public String getTextualName()
    return this.name;
    Talking with someone it seems logical that every time I set a new BindingSource the component will not know if I want to keep the same member values so it resets them, but why it only resets displaymember? very strange to me.
    Thanks again.

  • How to set to-mode to Fixed Value and give a date in RSDV transaction

    Hi
             I am working in BI7.0 environment. I am deploying HR Reporting Project. I need to load data to HR Info Cube 0PAPA_C02, to do this I need to maintain validity slice (RSDV transaction) for the Info Cube. After first load I need to set "to-mode-'Fixed Value'" and give a date such as 31.12.9999.
            Can anyone please let me know the steps on how to set- to mode to Fixed Value in RSDV.
    Thanks

    Here's the basic steps to follow:
    1) Go to tcode RSDV, enter the InfoCube name (0PAPA_C02) and Execute.
    2) If there is data already in the InfoCube you will get a validity table with default validty dates from 0CALDAY.
    3) Click on the Display/Change button so that you're in change mode and edit the validity date to be 31.12.9999.
    4) In the To-Mode column, set the value to 'F' for fixed.
    5) Put the fixed date value (31.12.9999 in your example) in Fixed to time.
    6) Click on Save.

  • Does Aperture read and display XMP data generated by LR?

    Does anyone know if Aperture reads and displays XMP data generated by LR? I am not interested particularly in keywords.

    Thanks for the quick reply, William.
    I would suggest to David Schloss and AUPN that this would be a feature worth supporting. Although, hopefully both new software and improving skills in using them make me less concerned about preserving a static conversion or interpretation of an image, I think that whatever software we use to read/exchange keywords and other IPTC data is a constant.

  • Calculating sum of distinct values

    Hello,
    I have a table with columns
    U1,U2,U3 of type VARCHAR2 and other columns as UQ1,UQ2,UQ3 as NUMBER
    I need to find out the sum of UQ1,UQ2,UQ3 column for the distinct value in U1,U2,U3 columns.
    Can we construct a sql statement to achive this?
    Cheers

    My apology, I actually didn't explained my problem properly. its infact is as following
    the table has columns U1,U2,U3 of type VARCHAR2 and other columns as UQ1,UQ2,UQ3 as NUMBER
    and i need to obtain the sum UQ1,UQ2,UQ3 for distinct values in column U1,U2,U3
    the column UQ1 hold the value for item in column U1
    and column UQ2 hold the value for item in column U2
    and column UQ3 hold the value for item in column U3
    So there could be a instance where columns U1,U2,U3 may contains the same item but difference values in columns UQ1,UQ2,UQ3 i.e.
    u1 = 'A' and uq1 = 1
    u2 = 'B' and uq2 = 4
    u3 = 'A' and uq3 = 6
    the result should be
    A, 7
    B, 4
    Can we achive this through simple construct?

  • Errors with Time Machine (not completing backup, and needing to erase the ".inProgress" package)

    I have in a previous discussion been talking about errors with my Time Machine backup.  The errors were with a problem with Indexing a file, it fails and stops the whole backup.  Each time it attemps another backup, it fills my ".inProgress" package with a (nearly) whole backup, filling my Time Machine hard drive, and thus errasing my previous good backups.  The error occurs after about 95% completion.
    In my last post of a similar disscussion, the problem was indexing the Preference Pane files and this caused the whole backup to fail.  This was my last post there:  (below in some additional info of my situation)
    I did exclude the MobileMe.prefPane.  And I got:
    12/16/11 9:24:50.468 PM com.apple.backupd: Starting standard backup
    12/16/11 9:24:50.556 PM com.apple.backupd: Backing up to: /Volumes/3 TB GoFlex Drive/Backups.backupdb
    12/16/11 9:25:14.418 PM com.apple.backupd: Waiting for index to be ready (101)
    12/16/11 9:27:02.366 PM com.apple.backupd: Deep event scan at path:/ reason:must scan subdirs|
    12/16/11 9:27:02.366 PM com.apple.backupd: Finished scan
    12/16/11 9:33:37.119 PM com.apple.backupd: Deep event scan at path:/Volumes/Mac OS Lion GM reason:must scan subdirs|
    12/16/11 9:33:37.119 PM com.apple.backupd: Finished scan
    12/16/11 9:36:15.650 PM com.apple.backupd: 758.92 GB required (including padding), 830.32 GB available
    12/16/11 10:25:14.873 PM com.apple.backupd: Copied 22.8 GB of 630.5 GB, 782749 of 2357620 items
    12/16/11 11:25:15.335 PM com.apple.backupd: Copied 86.6 GB of 630.5 GB, 1167675 of 2357620 items
    12/17/11 12:25:16.227 AM com.apple.backupd: Copied 152.2 GB of 630.5 GB, 1393795 of 2357620 items
    Dec 17 01:25:16 Thomas-P-Kellys-iMac com.apple.backupd[99858]: Copied 305.2 GB of 630.5 GB, 1413946 of 2357620 items
    Dec 17 02:25:16 Thomas-P-Kellys-iMac com.apple.backupd[99858]: Copied 457.1 GB of 630.5 GB, 1419190 of 2357620 items
    Dec 17 03:19:07 Thomas-P-Kellys-iMac com.apple.backupd[99858]: Copied 1736865 files (568.3 GB) from volume Macintosh HD.
    Dec 17 03:25:16 Thomas-P-Kellys-iMac com.apple.backupd[99858]: Copied 572.1 GB of 630.5 GB, 1848939 of 2357620 items
    Dec 17 03:40:33 Thomas-P-Kellys-iMac com.apple.backupd[99858]: Indexing a file failed. Returned 200 for: /Volumes/Mac OS Lion GM/System/Library/PreferencePanes/Mouse.prefPane, /Volumes/3 TB GoFlex Drive/Backups.backupdb/Tom iMac/2011-12-14-171406.inProgress/7DB524DD-EFB9-42A6-8A21-0A2A312EDA6D/Mac OS Lion GM/System/Library/PreferencePanes/Mouse.prefPane
    Dec 17 03:40:33 Thomas-P-Kellys-iMac com.apple.backupd[99858]: Aborting backup because indexing a file failed.
    Dec 17 03:40:33 Thomas-P-Kellys-iMac com.apple.backupd[99858]: Stopping backup.
    Dec 17 03:40:33 Thomas-P-Kellys-iMac com.apple.backupd[99858]: Copied 2164998 files (581.1 GB) from volume Mac OS Lion GM.
    Dec 17 03:40:33 Thomas-P-Kellys-iMac com.apple.backupd[99858]: Copy stage failed with error:11
    Dec 17 03:40:50 Thomas-P-Kellys-iMac com.apple.backupd[99858]: Backup failed with error: 11
    This time it was the Mouse.prefPane that caused the error.  I'd like to exclude the entire PreferencePanes directory.
    This was my error message this time:
    I just realized this was on my small Developers partition.  Perhaps there is an error with the build, OR an error with the initial restore.  I'd like to perhaps exclude the entire /Volumes/Mac OS Lion GM.  I expect that Time Machine is working fine with my main partition and the error happens when it's almost done with the Mac OS Lion GM partition.
    The problem now is that I only have 265 GB of 3 TB available on my Time Machine HDD.  If attempt another backup, it'll surely erase about 410 GB of my past saved backups.  I've already lost 6 months, and I only have two months left of backups.  I need to erase the ".inProgress" package again.  That'll take time, and it's impossible to do from this main partition, even at root access.  This ".inProgress" has a total of two (nearly) full backups; it didn't cleanup the first full backup attempt while starting the second,perhaps it would have had it finished.  But I fear even if I exclude the whole "Mac OS Lion GM" partition,  It'll create a third full backup before cleanup and erase ~400 GB of previous good backups.  Then, I'll have a total of 4 (nearly) full backups!  3 TB is just enough without any past backups.
    Maybe I'll just copy my documentations of my 'errasing the ".inProgress" package'  last time (from the Mac OS Lion GM partition) and do a full restore of just that partition.  Thus erasing the errors all together.  If it doesn't fix the errors then this could be a bug in the build that doesn't allow Time Machine to work.  I've always included this partition in Time Machine before, even with other Lion builds, so I suspect that it was an error in the initial restore.  (I may be answering my own questions, and that the inital restore (of the small partition) is the problem, and I just need to re-restore the small partition)
    Again, I'm going to have to erase the ".inProgress" file to regain 1.53 TB of space before proceeding.
    Also, I gave myself permission to read the ".Backup.345781513.887697.log", the log that was created last night when I first started Time Machine this last time.  It was interesting, but didn't show the error I could see from the console.
    Right now, mds and mdworker appear to be going crazy even after I just now turned off Time Machine.  I think I'll let it go for the rest of the night.  Then I'll work on erasing the ".inProgress" package from the other partition boot up.
    That was my entire last post.  To add some information, I have two OS X partitons, both Mac OS X Lion.  One is my large main partition, the other is one I don't mind testing with.  I recently replaced my internal hard drive in my iMac and restored from Time Machine both partitions.  This appeared to go smoothly.  But I have yet to create a single successful Time Machine backup since.  At first it was doing a Full Backup, which I didn't like, but now it just aborts around 95% completion.  Each, time, it tries it fills the Time Machine hard drive with duplicate (nearly) full backups errasing my older good backups.  I would like to erase the ".inProgress" file to save space.
    My main question in this new discussion is does anyone know of a good way of erasing the ".inProgress" file? This is so I can preseerve my previous backups.  ACLs and other permissions seem to make it impossible to erase from this startup partition, the one I'm running Time Machine from.  Even at root level, if I give myself permission to change permissions or delete a file, it'll say Operation not Permitted instead of Permission Denied.  I have been able to delete this ".inProgress" package before when booting from the other  partition, but with great difficulty.  I have had much help from another Member in this Support Community when it comes to solving my Time Machine problems.  I think I have found the problem (indexing files in my small OS X partition), as stated in my copy& pasted post above, but I really need to delete this inProgress package first to save space before continuing!

    Pondini wrote:
    Gator TPK wrote:
    Now I'll have to fix the small partition?  How's the best way to do this?  There could be thousands of files that won't index fine.
    See if there's anything you haven't done, that applies, in the pink box of #C3 in Time Machine - Troubleshooting
    Otherwise, since most (or all?) of the indexing errors are in OSX, you might want to just reinstall it.  Something may have gone wrong sometime, that damaged those files.
    I reviewed #C3 in Time Machine - Troubleshooting and I have already done most of those things.  I have just learned something new though:
    When I included my Main OS X partition again, I got an indexing error for the first time for that partition.  I might be interesting to note that the _spotlight process was running, and it's running again (the magnifying glass has a dot and it generically says "Indexing Tom's iMac").  mdworker, mds and backupd processes really are working hard, one moment they used over 500% of my CPU.  It's nice to know for once quad core is good for something other than video encoding.  (Now if they could just get the Finder to do more than 100.1%, only 1 thread is doing 100%, I'd like to see file size calculations 8 times quicker!)
    I never got an indexing error once in the past 2 weeks for that large Mac OS X v10.7.2 main volume, and it had appeared to finish that partition backup before running into problems with my smaller test partition.  Also, I had just updated the smaller test partition with a later build of Mac OS X.  But It appears that the beta builds are clearly not the problem.  I thought I could just restore again (from the December 4th backup) the small partition and both would be fine.
    I'll finish reviewing all the suggestions on Time Machine - Troubleshooting and go from there.  Hopefully, the _spotlight indexing simutaniously was the only problem.  It's strange that the indexing hasn't happened since the original restore last week untill I finally got a good clean complete partial Time Machine backup.  Why would the first Time Machine backup trigger indexing again?
    For now, I'm going to exclude the Main Partition again, and let another good backup run.  And try your suggestions.  (And wait till mds, mdworker, etc. to finish!)
    I have the logs of the first two sucsessful backups and the last two failed backups from the last 3 hours, if that would help.?

  • Why is the giving me this error (method does not return a value) PLEASE !!

    I have this code and it is giving me this error and I don't know how to fix it
    can anyone out there tell me why
    I have included the next line of code as I have had problems in the curly brackets in the past.
    The error is
    "Client.java": Error #: 466 : method does not return a value at line 941, column 3
    Please help
    THX TO ALL
    private Date DOBFormat()
        try
          if
            (MonthjComboBox.getSelectedItem().equals("") || 
             DayjComboBox.getSelectedItem().equals("") ||
             YearjComboBox.getSelectedItem().equals("")){
          else
            String dateString = StringFromDateFields();
            SimpleDateFormat df = new SimpleDateFormat("dd/mm/yyyy");
            Date d = df.parse(StringFromDateFields());
            System.out.println("date="+d);
            return d;
        catch (ParseException pe)
          String d= System.getProperty("line.separator");
          JOptionPane.showMessageDialog( this,
           "Date format needs to be DD/MM/YYYY,"+ d +
           "You have enterd: "+ StringFromDateFields()   + d +
           "Please change the Date", "Date Format Error",
           JOptionPane.WARNING_MESSAGE);
          return  null;
      //File | Exit action performed
    public void jMenuFileExit_actionPerformed(ActionEvent e) {
      System.exit(0);
      }

    Fixed it needed to have a return null;
    this is the code
    if
            (MonthjComboBox.getSelectedItem().equals("") ||
             DayjComboBox.getSelectedItem().equals("") ||
             YearjComboBox.getSelectedItem().equals("")){
            return null;

  • Error with pdf,  adobe acrobat reader 8 and Mozilla Firefox 2

    Hello.
    I create view PDF file with following code
    String filename = "er.pdf"
    File file = new File("C:/" + filename);
    FileInputStream fis = new FileInputStream(file);
    int length = (int)file.length();
    httpServletResponse.setContentType("application/pdf");
    httpServletResponse.setContentLength(length);
    ServletOutputStream fos = httpServletResponse.getOutputStream();
    byte buffer[] = new byte[4096];
    int count = fis.read(buffer,0,buffer.length);
    while (count > 0) {
    fos.write(buffer,0,count);
    count = fis.read(buffer,0,buffer.length);
    } // end while
    // Cleanup
    fis.close();
    // session.removeAttribute(key);
    // file.delete(); // If temporary file
    } catch (Exception ex) {
    System.out.println("error");
    This call Error when I used browser Mozilla 2 and plugin adobe acrobat reader 8, but all work good, when I used adobe acrobat reader 7 and Mozilla 2.
    I need help.
    Have someone this problem?

    Hi,
    did you search the Mozilla forum for this issue? I don't think that the JDeveloper 11 forum is the right place to post this problem if it is an Adobe/Mozilla issue
    Frank

  • Possible error with viewing same site on desktop and iPad

    Site is viewing correctly on desktop but on iPad everything not pinned is being pushed to left with white space to the right of page.
    There are no hidden or active elements off the page anywhere..

    Here is an observation.
    With Acrobat Reader 11.0.02 installed on OS X 10.8.2 and Windows 7 (with latest updates), the reported default page display resolution in Reader's preferences is 81 for OS X, and 96 for Windows. What this means in English is that PDF that are viewed on OS X appear noticeably smaller than when viewed at 96 ppi. Like looking backwards through binoculars.
    What happens if you adjust the Reader custom display resolution to 96 ppi. Does this improve the visuals with Windows counterparts?
    On IOS, and in particular, later models of iPad and iPhone, you are looking at PDF at default display resolutions upwards to 326 ppi. I would hope that the PDF look sharper on IOS 5/6 than they do on OS X. Try setting the custom display resolution in Adobe Reader on OS X to 326 ppi. Notice any sharper (albeit) huge resolution difference?
    Are you requesting the “Best” setting for Pages PDF export, or “Better.” There is a 150 ppi resolution difference for text in those settings.

  • Query or function that returns distinct values and counts

    For the following table:
    ID number
    address varchar(100)
    Where the ID is the primary key and addresses might be repeated in other rows, I'd like to write a query that returns distinct addresses and the count for the number of times the address exists in the table. What's the best way to do this? Thank you in advance.

    Jlokitz,
    select address, count(*)
    from table
    group by address;
    HTH
    Ghulam

  • Retrieve list items from the textbox text value and display the dropdownlist item for that particular list item

    hi,
     I have created a custom list in my sharepoint :
    List1 name:   employeedepartment  -
                   Title       empdepartment
                   A             D1
                   B             D2
                   C             D3 
    List2  name:  employeedetails  
     emptitle            empname       empdepartment(lookup) --> from the list "employeedepartment"
       x                     Ram                 D1
       y                     Robert             D2
       z                     Rahim              D3
    My task is to create a custom webpart that will be for searching this employee details by entering emptitle
    For this, i have created a visual webpart using visual studio 2010, my webpart will be like this:
    emptitle  --->  TextBox1                        Button1--> Text property : Search
    empname---> TextBox2
    empdepartment-->  DropDownList1
    For this, i wrote the code as follows:
    protected void Button1_Click(object sender, EventArgs e)
                using (SPSite mysite = new SPSite(SPContext.Current.Site.Url))
                    using (SPWeb myweb = mysite.OpenWeb())
                        SPList mylist = myweb.Lists["employeedetails"];
                        SPQuery query = new SPQuery();
                        query.Query = "<Where><Eq><FieldRef Name='Title'/><Value Type='Text'>" + TextBox1.Text.ToString() + "</Value></Eq></Where>";
                        SPListItemCollection myitems = mylist.GetItems(query);
                        if (myitems.Count > 0)
                            foreach (SPListItem item in myitems)
                                string a1 = Convert.ToString(item["empname"]);
                                string a2 = Convert.ToString(item["empdepartment"]);
                                TextBox2.Text = a1;           // displaying   properly                    
                                //DropDownList3.SelectedIndex = 1;                           
     It is showing the list item in textbox according to the item entered in the textbox1... But I am stuck to show in the dropdown list. 
    Suppose, if i enter X in textbox and click on search, then dropdownlist need to show D1,
                               for Y --> D2 and for Z-> D3... like that.
    What code do i need to write in the button_click to show this... 
    Please don't give any links...i just want code in continuation to my code.

    Hi,
    Since you have got the data you want with the help of SharePoint Object Model, then you can focus on how to populate values and set an option selected in the Drop Down List.
    With the retrieved data, you can populate them into the Drop Down List firstly, then set a specific option selected.
    Here is a link will show how to populate DropDownList control:
    http://www.dotnetfunda.com/articles/show/30/several-ways-to-populate-dropdownlist-controls
    Another link about select an item in DropDownList:
    http://techbrij.com/select-item-aspdotnet-dropdownlist-programmatically
    Best regards
    Patrick Liang
    TechNet Community Support

  • Validate the XML tag value and display the Binding data in XDP

    Hi,
    I am new to Adobe Life Cycle.... and i am working on the following requirement and XML file is enclosed...
    1. Need to validate the XML value of <pp> with condition
    2. Basing on the value of <pp>, need to display the <ct> values in text field
    If i simply bind, it takes the values from top of array and display..
    Please suggest how to restrict the binding values basing on the condition.
    Thanks
    Madhu

    Hi Paul,
    Thank you for quick respose.
    The solution which you have give me not excatly looking for.... working for the solution in alternative methods...
    Regards
    madhu

  • Help with calculated column formula- combine strings and convert to date

    In my list (SharePoint Server 2013) I have:
    'Invoiced Month' column, type of choice (strings with names of months- January, February, March..., December)
    'Year' column, single line of text (e.g. 2012, 2013, 2014)
    1. I need to create a calculated column which will return combined value of the columns above, but in DATE format e.g. 'Sep-2013' or '01-Sep-2013'.
    I then use that newly created calculated column to do this: http://iwillsharemypoint.blogspot.in/2012/03/sharepoint-list-view-of-current-month.html
    I am rubbish with formulas, can I have some help with my problem please?

    Hi,
    Use the formula, I have tested by creating Months column with choice, Year column as numeric and Calculated column as DateTime returned.
    =DATE(Year,IF([Months]="January", 1,IF([Months]="February",2,IF([Months]="March",3,IF([Months]="April",4,IF([Months]="May",5,IF([Months]="June",6,IF([Months]="July",7,IF([Months]="August",8,IF([Months]="September",9,IF([Months]="October",10,IF([Months]="November",11,12))))))))))),1)
    Before applying the formula few things need to be noted.
    DATE(YEAR, MONTH,DAY) will accepts three parameters all should be type numeric(integer).
    Create the Year column of type numeric
    Create the calculated column of type "DateTime" to return as date
    Please mark it answered, if your problem resolved or helpful.

  • Query Stripping: how to filter a value and display the detail

    Hi,
    We have just upgraded to XI 3.1 SP3.1, and I have done some tests on the query Stripping functionnality. I can see the benefits from a performance point of view if I dragged new characteristics to the report, but I was not able to reproduce one of our key requirements:
    The report displays Sales by Manager, the customer is in the webi query panel but not in the report. So far, thanks to the query stripping option, webi only retrieves the Manager information and not the customer.
    Now, the user wants to see the sales by customer for a particular manager. If I drag and drop the customer, I have the customers for all the managers, and I now have a performance issue.
    I just would like to do as in BEX: Filter and Drill Down.
    I know that I can use the Drill Functionnality of webi, but it is a fixed scenario that you have to define in advance in the universe. It has also the inconvenient to drill only to the key or the description of an object (cannot drill down to the key and description of the customer).
    Any tip to do a "filter and Drill Down" using the query stripping functionnality?
    THank you,
    Gabriel

    Hi,
    Drag from output port of dataservice and select "filter data" option. Then if you select "configure element" for filter operator, you can see the fileds.
    The filter conditions for a numeric field is as follows
    Equals 100 - <b>100</b>
    Not equals 100  - <b>not 100</b>
    greater than 100 - <b>100..</b>
    <= 100 - <b>not 100..</b>
    <100 - <b>..100</b>
    I think you got the logic here. the two dots at the end shows greater while dots at the begining shows less than. If the dots are in the middle of two numbers, the filter operator  will return values between the two numbers
    Regards,
    Sooraj

Maybe you are looking for

  • Generate Prime Interface Availability and Utilization Report for unified APs

    Hi, I´m trying to generate interface availability and interface utilization report for unified APs on Prime Infrastructure 2.0, but it doesn´t display any information. I have created device health and interface health templates under desing/Monitor c

  • Error while installing OIM, during the OC4J Instance Configuration Assistan

    Hi, running RHEL 4 32Bit Linux. There's an installation of the SOA Suite 10.1.3.1 (Release 2) on /u01/app/oracle/OracleAS_1, and I am installing OIM on /u01/app/oracle/OraHome_2 Near the end of the installation, when it's installing the recommended c

  • I'm trying to activate my original Iphone for a few weeks

    My daughter dropped my 3G in the toilet- and so of course it is toast.  I ordered a new 4S- but they are backordered- so I was told I could place my current sim card into my original Iphone.  When I do- it shows a picture of cord to be plugged into 

  • Nokia 5800 GPS Question

    I'm planning on traveling from the USA to Europe and want to know if the GPS will work in Europe if I don't have phone service or a pay as you go SIM card. Thanks. Solved! Go to Solution.

  • Good Receipt w.r.t Handling Units(outbound delivery)

    Hi everyone, i am doing a BDC for MIGO t-code....to create Good Receipt w.r.t Handling Units(outbound delivery)..... While executing the Pgm....if some other user has opened the MIGO t-code in DISPLAY mode then that pgm is not able to call the MIGO t