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: 
Not applicable

Reg 2 Months in One Report?

HI All,

Please find the screen shot how my data was looking :Humira1.JPG.jpg

I  want the O/p as:

Month         Product       Value

Feb            Humira         Reporting Month (March) / Month (February)

1 Solution

Accepted Solutions
daveamz
Partner - Creator III
Partner - Creator III

Hi Helen,

See the file attached. I solve it in 2 ways: in first one I calculated within the script and needs some sorting, grouping. In the second one I used if...

In any case it will be a good practice to replace MONTH values (FEB, MAR) with numeral correspondent (01,02 or even better 201402, 201403) because of the sorting.

Regards,

David

View solution in original post

3 Replies
Not applicable
Author

Load the data and create a chart as below,

Dim : Month , Product

Exp : sum({<ReportMonth={'MAR'}>}[In-Market Units])/sum({<ReportMonth={'FEB'}>}[In-Market Units])

Regards,

Prabhu

Not applicable
Author

like this i am having all months, how i can write..

daveamz
Partner - Creator III
Partner - Creator III

Hi Helen,

See the file attached. I solve it in 2 ways: in first one I calculated within the script and needs some sorting, grouping. In the second one I used if...

In any case it will be a good practice to replace MONTH values (FEB, MAR) with numeral correspondent (01,02 or even better 201402, 201403) because of the sorting.

Regards,

David