grandlynx Posted April 2, 2008 Share Posted April 2, 2008 Hello, I have an SQL query like this : SELECT user_name, task_type, take_name FROM task; I want to make a cross tab with the result of this query formatting with user_name in row, task_type in column an number of different task_name by type by user in cell. I thik it's a standard cross tab but my cells contains the first take name concerned by crosselling and not the dictinct count. Can you help me please ? Sorry if my post is dummy :( Link to comment Share on other sites More sharing options...
n0n00b Posted April 2, 2008 Share Posted April 2, 2008 Hi i think u should try to do this with your query and not with iReport. what about a select like this:SELECT user_name, task_type, count(distinct(take_name)) FROM task group by user_name, task_type Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now