[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Using Count() Function in ReportNet

Posted on 2010-03-24
2
Medium Priority
?
1,155 Views
Last Modified: 2012-05-09
I am trying to use the Count() Summary Function in a Query Calculation member.  I am attaching images of what the Query Structure looks like for a better visual understanding.  What I am trying to do, is get a count of how many records show a Discrepancy values <> 0, within each group of "ITEM_DESC".  I wrote the following code, but ReportNet complains of bad syntax... Is there a way to do what I am looking for?


count(DISTINCT [STUDENT_KEY] for [ITEM_DESC], [SCOREDIFFERENCE] <> 0)

Open in new window

Table-Structure.jpg
0
Comment
Question by:Ben Santiardo
2 Comments
 
LVL 7

Expert Comment

by:Steve
ID: 28505013
How about:
 count(DISTINCT [STUDENT_KEY]) for [ITEM_DESC], [SCOREDIFFERENCE] <> 0
0
 

Accepted Solution

by:
Ben Santiardo earned 0 total points
ID: 28548099
No, inproper syntax.  
I worked around the solution by have a triple nested SQL statement in order to massage the data to a usuable format.  Thanks for the help Sodea63.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello, In my precious Article  (http://www.experts-exchange.com/Database/Reporting/A_15280-Create-Project-in-Microstrategy-Part-I.html)we saw the Configuration part for Microstrategy which included Metadata Creation and DataSource Preparation as …
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
The video provides a quick and easy steps to migrate MBOX file to well known Outlook PST and Office 365. Besides this, it also supports and migrates more than 20 email clients of MBOX which include AppleMail, Opera, Thunderbird and SeaMonkey effortl…
Suggested Courses

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question