Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

group by clause

hi,

iwant to execute this request in qlik:

select count(*), field group by field

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

in listbox check the show frequency.then it will show the count.

or else

in list box create a expression write the logic

aggr(count(field),field1)

View solution in original post

4 Replies
agomes1971
Specialist II
Specialist II

Hi,

you have to be more specific.

Sql Server:

Example:

T:

load *;

SQL

select field, count(*) from yourtable

group by field;

Hope it helps

André Gomes

Not applicable
Author

Hi,

Table1:

select * from [table name];

what is your requirement you can achive this easily.

Tab2:

Load Count(*),

         Field

resident Table1 group by field;

Not applicable
Author

i want to execut it in a list of selection

Not applicable
Author

Hi,

in listbox check the show frequency.then it will show the count.

or else

in list box create a expression write the logic

aggr(count(field),field1)