473,396 Members | 2,106 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Hi Problems in SQLplus Report - For Distinct Count

Hi

I have one reports which shows the Account wise daily
transaction during the day.(pl's find below report
layout format with column description)

May or may not be each account have multiple
transaction during the day.

My report break and compute as shown below.
break on report on Product_Description on Account_No
on Name on CCY nodup
compute count label 'Total Accounts' of Account_No on
report

My problems is.
Compute counting the total number of not null
transaction into report but I want distinct account
count at
the end of report.
i.e. during a day one account reporting 100
transaction, compute will show 100 transaction but i
want count
should show only 1.
Bye
Yasin

Product Description Account No CCY Account Title
-------------------- ----------- ---
------------------------------------------------------------
Opening Balance Debit Amount
Credit Amount Closing Balance
-------------------- ------------------- -------------------
------------------- -------------------
xxxxxxxxxxxxxxxxxxxx 999999999 xxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
999,999.00 999,999.99
999,999.99 999,999.99

xxxxxxxxxxxxxxxxxxx 999999999 AED XXXX
999,999.99- 999,999.99
900,000.00 999,999.99-
999,999.99- 999,999.99
0.00 9,094,999.99-
9,999,999.99- 999,999.99
999,400.00 999,098.65-
999,999.99- 600,000.00
0.00 878,310.35-

999999999 AED XXXX
999,999.99- 999,999.99
900,000.00 999,999.99-
999,999.99- 999,999.99
0.00 9,094,999.99-
9,999,999.99- 999,999.99
999,400.00 999,098.65-
999,999.99- 600,000.00
0.00 878,310.35-

******************** *********** ***
************************************************** **********
-------------------
Total Accounts
9 (this figure show no of rows
reporting into Report)
"but I want like this 3 ( No of distinct Accounts of
report)"
*** End of
Report ***
Jul 19 '05 #1
0 5661

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: BobG | last post by:
-- The issue This following query works fine on Toad and PowerBuilder yet when it is run on SQLPlus I get: "ORA-03113: end-of-file on communication channel" When I remove the distinct from the...
5
by: Terri | last post by:
I have a form with a multi-select combo. I dynamically build a SELECT statement, open a report, and set the recordsource to my dynamic SELECT statement. I count the records returned in the report...
1
by: Justin Koivisto | last post by:
I am trying to create a report that displays a name of an advertising source and count of the number of times it was hit between certain date ranges. The data is split between two different...
4
by: dixie | last post by:
I have a report which has records of students in various courses. It would normally show say 400 entries for 80 students doing an average of 5 courses each. I want to say on the report how many...
2
by: SJM | last post by:
I have a report that displays records of real estate properties. It is possible for each property to appear a number of times for various reasons. Each record however is unique. What I would like...
0
by: DAnne | last post by:
Hi, I'm very new to xslt and this is my first time posting to a Forum so please forgive me if I transgress any protocols. I have to do a tally report. This report is divided up into sections....
0
by: tngoe | last post by:
echo "" echo "Enter person ID:" read person_id sqlplus -silent '/nolog'<<end_sql1 connect useract/passwd start $BANNER_LINKS/gurlsid.sql $person_id FAISMGR end_sql1 cat person.lst...
3
by: tyrynn28 | last post by:
My query looks like this: ID Docs 1 A 1 B 1 C 2 A 2 C My report looks like this: ID Docs 1
7
by: AccessHunter | last post by:
Hi, Please help with this problem. I have a report that displays a list of Case/Judge Records. using the following fields, Case Nbr, Case Seq Nbr, Judge Name, Attorney name 723187, 1...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.