Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
ksk278074
Contributor III
Contributor III

Combine the two dimensions into one

HI Team,

I have 4 fields like below 

month/year,

region,

product,

sales.

 

If have written the one expression like below 

sum(total<[month/year]>{<product={'Apple'}>}(sales))  based  on the expression i am getting the below results which are correct 

 v1.png

Now my requirement is i want to combine the month/year field and region filed into one.

i have done the combination of the  two dimension and i have used the below  expression 

sum(total<monthregion>{<product={'Apple'}>}(sales))

now iam getting the below output which is not same compared with above table.

2.png

Here monthregion field is the combination of the month/year and region fileds

How to get the same values ?

Thanks in advance 

if  

Labels (1)
1 Reply
JordyWegman
Partner - Master
Partner - Master

Hi,

Can you provide a sample QVF with data? That makes testing easier.

Jordy

Climber

Work smarter, not harder