How would I count items in DataSet2 and have them grouped by the column that is tied to DataSet1?

Greetings!
First, thank you for looking at my question. I am trying to count the number of items that = "True" in DataSet2 and display them in the "Week" column in a table who is pointed to DataSet1.
I have a simple table that is set up something like this:
CDC Week |
[Week Number] from DataSet1
| Total
Count of Some Item |
[CountSomeField] from DataSet1
| [ Total of Row]
Count of Another Item | 
[CountOfTrueItems] from DataSet2
| [Total of Row]
With the expected results:
CDC Week |
25
| 26 |
27 |
(n/a)
Count of Some Item |
10 |
20 |
30 |
(Expected 60 but not working yet)
Count of Another Item |
5 |
10 |
15 |
(Expected 30 but not working yet)
Instead I get:
CDC Week |
25 |
26 |
27 | 
(n/a)
Count of Some Item |
10 |
20 |
30 |
(Not working yet)
Count of Another Item |
30 |
30 |
30 |
(Not working yet)
DataSet1 has a few columns including a "Week" column. DataSet2 has two columns, "WEEK" and "POS".
I need to count items when POS = "TRUE" in DataSet2 and group them on the "Week" column.
My current expression is =SUM(IIF(Fields!Pos_.Value = "True", 1, 0), "DataSet2")
And while this returns a value, it does not count (or sum) by each week. I am missing something...
Thank you for any assistance!
p.s. Sorry My html skills are not shining with the table formatting :(

Hi,
Would you please provide some screenshots?
Work hard, play harder!

Similar Messages

  • How can i delete messages on iMessage and have them STAY GONE?

    How can I delete messages from my iPhone and have them STAY GONE and not have them show up on my computer or iPad? Same thing, how can I delete from any of these and have them NOT show up on the other devices? If I delete on one, it stays on the other. It's a constant circle of deleting messages? I want them gone when deleted.  Maverick. iPad4th iPhone 5
    Thanks.
    Sandy

    Hi,
    First off.
    The "Sync" as Apple calls it is only "Display on all Devices" and nothing more.
    Deleting it on one device will not delete it on another.
    On the Mac the iMessages are stored in ~/Library/Messages in file called chat.db with a couple of supporting database items alongside.
    If you "close"  or remove the chat in the list in the Messages window (the x when you mouse over the name and pic) then the iMessage will "return" as an "Aid Memoire" to the previous conversation.
    This is local on your Mac and is nothing to do with any 'sync' over the iMessages servers.
    The longest time I have experienced was using my iPhone on a hotel WiFi on a Friday evening away form home and picking up those same iMessage on Sunday evening when I turned my Mac on.
    The iMessages servers "push" the iMessages to the devices it thinks are Registered.
    However this only happens once.  When the device has the iMessages the servers stop sending it.
    This is to stop what you seem to describe - the endless attempt to delete the same iMessages.
    It is more likely you are talking about the "history" feature.
    9:56 pm      Friday; February 7, 2014
      iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Hi there!  Question;  recently (2 days ago), I began receiving text messages on my phone that says urgent and is from 6250.  The only other text that it lists is VZWNMN:1  I don't know how to block this from my phone and have no idea what the heck it is!

    Okay, so a couple of days ago I began getting these weird texts to my phone from 6250.  The text reads VZWNMN:1 
    DOES ANYONE HAVE ANY IDEAS WHAT THIS IS?  I've RECEIVED AT LEAST 50 OR MORE AND THEY KEEP COMING!  Anyone out there have any idea how to stop them or block them?

    Did you try searching the community for similar discussions? There are five of them listed to the right of your post under the "More like this" column.

  • How do you open multiple binary files and plot them all on the same graph?

    I have three different binary files and I want to plot all 3 of them onto a graph.
    I am familiar with opening and reading a single binary file. (Thanks to the help examples!) 
    But to do multiple numbers at the same time?  I was thinking of putting 3 different 'reading from binary file' blocks with the rest of the 'prompts', 'data type', etc.. and then connecting them on the same wire.
    However, I got into a mess already when I tried to read one .bin file to dynamic data type --> spectral measurements --> graph waveform.  The error was Not enough memory to complete this operation...  Why is that?  That didnt happen in the help example "Read Binary File.vi"...  Has it got something to do with the dynamic data type?
    Thank you for your time.
    Jud~

    Have a look at the image below and attached VI.  Simply enter the different paths into the PathArray control.
    R
    Message Edited by JoeLabView on 07-30-2008 09:59 PM
    Attachments:
    multipleBinary2Graph.vi ‏18 KB
    multipleBinary.PNG ‏5 KB

  • How can I select 3 movie files and have them played back2back in QTX?

    I have been trying to use automater to play two movies that are a series bak to back but it would not do it. I selected the movies, selected program, how many times to loop and to be in full sceen, but still no luck. I would think this would be a simple thing to do in either qt pro or qtx, qt being quicktime just in case fyi... Anyone know how to do this. I have both players. And perien, divx, etc.

    I have been trying to use automater to play two movies that are a series bak to back but it would not do it. I selected the movies, selected program, how many times to loop and to be in full sceen, but still no luck. I would think this would be a simple thing to do in either qt pro or qtx, qt being quicktime just in case fyi... Anyone know how to do this. I have both players. And perien, divx, etc.

  • I would like to import two different cf cards from two different cameras into the same project/folder and have them be in order of the times they were taken, is there a trick?

    I would like to import two different cf cards from two different cameras into the same project/folder and have them be in the order of the times they were taken, any ideas on how to do this?

    Just import them normally and sort the project by date. They will fall into place. If you tried this and it isn;t happening then make sure the data and times on the two cameras are identical and make sure you are sorting by date and time and nothing else.

  • Using applescript how do i create a dialog box and have several possible inputs lead to the same result not using the "else" command

    What i am trying to do is create a program that lets the user have a small conversation with the computer but i don't want to use "else" and list the possible inputs seperatley and have to write the same thing over and over again. does anyone know of a way i can list possible inputs together and have them lead to the same result?

    Your script asks the question twice because that's what you tell it to.
    The first line of your script asks the question:
    display dialog "hey" default answer ""
    then you define your lists:
    set mylist to ("hi", "hey")
    set mylist2 to ("sup", "yo")
    Then you ask the question again. This time you capture the result in theanswer:
    set theanswer to text returned of (display dialog "hey" default answer "")
    The simple solution is to nix the first line of your script, since it serves no useful purpose.
    Then, your logic on checking the answer is flawed. If you look at the script in a formatted/indented manner you'll see:
    if theanswer is in mylist then
      display dialog "what's up"
              if theanswer is in mylist2 then
      display dialog "dude"
              end if
    end if
    where you can see that theanswer has to be in mylist for any of the rest of this code to run - that includes checking to see if theanswer is in mylist2.
    You need to separate this, either into two separate if statements:
    if theanswer is in mylist then
      display dialog "what's up"
    end if
    if theanswer is in mylist2 then
      display dialog "dude"
    end if
    or by using an else statement:
    if theanswer is in mylist then
      display dialog "what's up"
    else if theanswer is in mylist2 then
      display dialog "dude"
    end if
    In the first case both checks are performed. In the second case, the second check is only performed if the first one fails (i.e. theanswer has to NOT be in mylist in order for mylist2 to be checked)

  • How do i get my photos to stream to my iPad in the events that were oringally created.  Right now they are streaming as photos and are not grouped at all.  I would like to get them back into the events that were originally created

    how do i get my photos to stream to my iPad in the events that were oringally created.  Right now they are streaming as photos and are not grouped at all.  I would like to get them back into the events that were originally created

    Hi..
    Thanks for the reply..
    My original I Phone 5 was running IOS 6.12
    My I phone 5S currently runs IOS 8..When I upgraded it, it had IOS 7 on it which made the I Photo app compatible with everything below IOS 8...( which the photo app is not compatible with ) so I just connected the I Phone 5S to my computer and thinking the new phone had IOS 7 on it that these was nothing to worry about..I thought all 900 + pictures in the photo stream would transfer but somewhere in the process, I Tunes decides to just go and install IOS 8 which requires that you run a " Photo Migration App" to transfer photos from IOS 7 & below. The problem was is that I didn't want IOS 8 on my new 5S so I thought I wouldn't have to do that part..
    Anyway the phone emerged with IOS 8 on it and the only photos that remained were the ones that were actually on the phone..The 900 + I had in the stream didn't transfer because the Photos that works on IOS 7 and below isn't compatible with IOS 8..I guess you have to use the photo migration app that comes with IOS 8 & I phone 6..But I didn't ask to upgrade to IOS 8...It just did it on it's own!
    I still have the I Phone 5 Back up that I did just before giving it back to Verizon but if I try to restore the I Phone 5S running IOS 8 those photos in the stream will not go back on the phone because IOS 8 isn't compatible with the I Photos" that ran on IOS 7 and below..
    So I have an I Pad mini that runs IOS 7..should I try and erase it...and put that I Phone 5 backup on it and pray the photos that were in the stream come back on it so I can transfer them back to my computer...then erase the I pad mini again and restore it using it's original backup that I have on the computer and the in the cloud?
    I know this sounds confusing but I'm at a loss as to what to do..This is what I found ...http://support.apple.com/en-us/HT201386
    but it doesn't help me..
    Steve

  • I would like to know how i can create a bell graph with out using sub VIs, the data that i created consists in 500 readings with values of 0 to 100, i calculated the mean value and standard diviation. I hope some one can help me

    I would like to know how i can create a bell graph with out using sub VIs, the data that i created consists in 500 readings with values of 0 to 100, i calculated the mean value and standard diviation. I hope some one can help me

    Here's a quick example I threw together that generates a sort-of-bell-curve shaped data distribution, then performs the binning and plotting.
    -Kevin P.
    Message Edited by Kevin Price on 12-01-2006 02:42 PM
    Attachments:
    Binning example.vi ‏51 KB
    Binning example.png ‏12 KB

  • Hi I would like to amend a pdf and be able to overwrite the details. please let me know how i can do that

    Hi I would like to amend a pdf and be able to overwrite the details. please let me know how i can do that.
    Thanks

    Adobe Reader cannot do this. At the very least, you would need Acrobat but editing in Acrobat can have it's issues. Best to edit the original document then recreate the pdf.

  • How to get line item net price and net value?

    I have using "BAPI_SALESORDER_SIMULATE" to SIMULATE to create SO,
    the return table
    ORDER_ITEMS_OUT-NET_VALUE is not equals than created by VA01 .
    how to get line item net price and net value?

    Hi,
    Can u elaborate ur query ?
    By this FM you cannot create a SO . Use FM --> BAPI_SALESORDER_CREATEFROMDAT2
    Regards,
    MAdhukar Shetty

  • HT3842 I updated iTunes to 11 and now I am unable to delete anything!! Very annoyed and I hate iTunes updates anymore. It shows a cloud with an arrow for me to download and I dont want to download the items..I already have them! How can I delete this garb

    I updated iTunes to 11 and now I am unable to delete anything!! Very annoyed and I hate iTunes updates anymore. It shows a cloud with an arrow for me to download and I dont want to download the items..I already have them! How can I delete this garbage??

    I have the same problem.   It's showing old podcasts that are available for download and I already watched and I don't want to see them again and I don't want them listed in my iTunes.  This latest upgrade is a piece of junk so far.   It destroyed my itunes podcast listing on my Windows Machine.   I have no intentions of upgrading to iOS7 or my Mac until I hear that things are fixed. 

  • How do I delete items from Exchange and resynch to fix a bug in Apple Mail?

    How do I delete items from Exchange and resynch to fix a bug in Apple Mail?  Mail does not synch with iCal.  Many more Mail problems that may need this fix.

    Is This you want...?
    The best solution is the one you find it by yourself
    Attachments:
    BD_Image.JPG ‏9 KB

  • How can I delete apps in iTunes and have that sync to my iPhone and iPad?

    How can I delete apps in iTunes and have that sync to my iPhone and iPad? I don't want to delete 3 separate times for each item. I just carefully chose 30-35 apps to get rid of via iTunes, hoping it would sync to my devices, only to find I have to repeat the process on my iPad, take notes, then repeat it on my iPhone. It wasn't always so tedious was it?
    Here's the "Help" I got from Apple. They even quoted my question back to me then proceeded to answer with something very different and completely missing the point.
    I understand that you would like to delete the Apps. I know how eager you are to get the required information and I will be happy to assist you.
    You can remove individual songs, audiobooks, and videos from your iPod, iPhone, or iPad. Removing an item from your device doesn't delete it from your iTunes library.
    To remove items from a device other than an iPod shuffle, first make sure that iTunes is set up to manually manage items.
    1. Connect your iPod, iPhone, or iPad to your computer.
    2. When the iPod, iPhone, or iPad icon appears in iTunes, select it.
    3. Unless your device is an iPod shuffle, click the Summary tab and make sure "Manually manage music and videos" or "Manually manage music" is selected.
    4. If the disclosure triangle to the left of your iPod, iPhone, or iPad (below Devices) is closed, click the triangle so that you can see the device's contents.
    5. Select the item you want to delete and press the Delete key.
    This was not helpful in any way and I am still unable to delete apps on my devices in a global, iTunes based way. Each device still requires its own independent process.

    Match was off.  I made all of the changes and then went through the "Turn on iTunes Match" option.  I now have deleted some tracks, edited the Metadata in CDDA, and then added it back.  This worked fine, but it is not a good solution.
    I just tried making some edits and use the "Update iTunes Match" and that seemed to work.  It looks like the real answer is that Match must be up and operational, then you can make changes and run the Update to incorporate the changes.  However, if Match has a problem then Signing Out and back in to your store account and going through the process of Turning On Match (were you get the questions, "Add this Computer to Match" will overwrite any changes. 
    Since this relies on the stability of iTunes, I won't be making a lot of changes between updates.

  • HT204364 How do I make different greeting cards and send them to the same address in a bulk - not having to pay $3.99 shipping for each card

    In Iphoto, I would like to produce a bunch of greeting cards with different pics for different people and I would like all these cards to be sent to my home address in one shipment.
    The way I understand it, I can only prodce one card and order multiple copies of the same card.
    I am looking for a way not to spend $0.99 + $3.99 (shipping)....
    Can this be done?
    Or is there an app that allows that?
    Or how can I save each card and have them printed somewhere else?
    Thanks!

    Not really because the format is an odd size and when you save it as a pdf file there's a white border around the card. 
    There are 2 tutorials on how to print them yourself if you have a 3rd party image editor that supports layers or Pages from iWork: iP06 - Printing a iPhoto Greeting Card and iP07 - Printing a iPhoto Greeting Card to Standard Stock Sizes.  Apple has made it difficult to print them borderless unless the card color is the same as the card stock.
    OT

Maybe you are looking for

  • Servlet can't open a download window on IE, but open it on FireFox

    Hello everyone, I created a attachment Pdf file by servlet. When I run at simulation, "inline" and “attachment” both worked fine. However, web application doesn't work on IE, either for "inline" or "attachment". When I tried Firefox, both work fine!

  • ABAP +JAVA system copy process

    Hello All, We are in process of building a server from a existing ECC 6.0 ABAP + JAVA system. We are using system copy process where we are restoring ABAP databse from source system. My question is about the JAVA part. How can we copy java part? Can

  • Purchase Order Reporting date

    All, My understanding is that for PO's the Document date is used for reporting (like for Invoices). While this works fine for Invoices, the Document date for PO's does not provide in my opinion the true depiction of spend (should be on the basis of D

  • How to store files in mysql database using JSP?

    I'm developing an online recruitment system using JSP in server side. For the users who registers in it, I want them to upload their cv's from the web site so that I can store it in the database..I'm using mysql as the db.. Can I know how to do it.?.

  • Not playing tv show purchases

    I recently purchases about 7episodes of Ghost Hunters from the Itune stores. When I went to play the video it played for about 5seconds then stopped. I have the most up to date itunes (10.4), I also restarted my computer