Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
tauceef9
Creator
Creator

How to Group by query for multiple KPI's

Hello All,

Sorry if its sound little obvious but I am really new to qlik.

I am creating a report where in there are multiple KPI's to be displayed like:

Count of Incident by Priority by weekly

Count of Incident by Category by weekly etc...

Now the issue which I have is I am writing a single query with Group by Priority, Category and date

and while creating a report I am selecting Priority, Date and Count for one chart

and Category, Date and Count for another chart

but because of group by on both Priority and Category together in the query I am not getting correct data in the report:

Getting multiple entries for a date with respect to a Priority or Category.

Do I have to create different query for all the KPI's like Priority, Category etc..?

Looking forward for a quick help.

Regards,

Tauceef

1 Reply
MindaugasBacius
Partner - Specialist III
Partner - Specialist III

Count of Incident by Priority by weekly.

For this you need fields Priority, Week, Incident ID.

Then Simple create a pivot table:

Screenshot_1.jpg

Take a look to the attachment.

The same logic would apply to Count of Incident by Category by weekly etc.