Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8616625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:39:52+00:00 2026-06-12T05:39:52+00:00

So I want to find out how many shipments ship how many different items.

  • 0

So I want to find out how many shipments ship how many different items. For example: I have a report that groups the data by shipment. i.e multiple items per shipment. Now what I want to do is group those on number of items to answer the question, “How many shipments shipped 4 items?”

Something like this:

5 Shipments with 2 items <--------------------- How do I get these groups?
    Shipment # 123443     Number of items: 2  \
    Shipment # 342312     Number of items: 2   \
    Shipment # 218245     Number of items: 2    = These are already groups with a
    Shipment # 342523     Number of items: 2   /   count of items per shipment
    Shipment # 345234     Number of items: 2  /

2 Shipments with 3 items  
    Shipment # 218154     Number of items: 3
    Shipment # 1518451    Number of items: 3 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T05:39:53+00:00Added an answer on June 12, 2026 at 5:39 am

    You’ll have to implement this on the DB side or via a SQL Command or SQL Expression in CR. For example, something like the following SQL Expression would work:

    (select count(item)
    from shipment
    where shipmentID = "shipment"."shipmentID")
    

    Then just group on this new expression which will give you the number of items per shipment for every row in your report.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to find out how many lines a string will have when set
I want to query a List<> and find out how MANY items match the
I have time in minutes and I want to find out how many hours
For our internal monitoring process, I want to find out how many exceptions have
I have many xml files in my project. I want to find out R.id.details
I want to find out if it is possible to create Android API's that
I want to find out which tables have been modified in the last hour
I want to find out how many rows are in a table. The database
I have a data model that contains a DateTime attribute, date. I want to
I want to find out how many periods (custom) are there between two dates.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.