Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
MH376
Contributor II
Contributor II

Display Aggregate values

 

I have a visualization with State, City and Sales . In 4th column I want to display total sales for individual State.

 

MH376_0-1711676138636.png

 

Instead of displaying "-" at city level I want to display total sales as shown below:

State City Sales
CA SFO 100 600
CA LAX 200 600
CA SDF 300 600
TX DFW 100 1600
TX AUS 500 1600
TX HOU 1000 1600

 

How can I change the visualization ?

Also I have a State and City Filter. Can it display all states and cities by ignoring the filter values?

 

 

 

Labels (2)
1 Solution

Accepted Solutions
MeehyeOh
Partner - Creator
Partner - Creator

Hi MH376,

 

1. Try this

Aggr(NoDistinct Sum(Sales),State)

Then you can display total sales for individual State.

 

2. If you add Set analysis,  display all states and cities by ignoring the filter values.

Set =

{<State=,City=>}

 

Reply, thanks.

 

View solution in original post

1 Reply
MeehyeOh
Partner - Creator
Partner - Creator

Hi MH376,

 

1. Try this

Aggr(NoDistinct Sum(Sales),State)

Then you can display total sales for individual State.

 

2. If you add Set analysis,  display all states and cities by ignoring the filter values.

Set =

{<State=,City=>}

 

Reply, thanks.