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

Second header based on first header

Hi Community

For below example I have used valuelist('9Q Avg', '1Q16') as 3rd dimension.

I want different header for 1st column 'JO', let say valuelist('4Q15') else as mentioned above.

Capture.PNG

Any idea please?

Thanks

4 Replies
Not applicable
Author

Instead of value List, you can add the expressions directly on the expression tab.

Not applicable
Author

Hi Satish,

You can create a  inline table for these values  something like

Load * inline [

Header

'9Q Avg'

'1Q16'

];

drop this field in the dimension and   edit this column with expression like

if(field='JO','4Q15',Header)

change the expression set accordingly.

Anonymous
Not applicable
Author

Hi Lokeshwari

This is excellent suggestion, but in expression how do I use formula like if '4Q15' than Exp1, if '9QAvg' than Exp2? Today I have posted same question again with sample QV, Please have a look.

I appreciate your efforts and time

Thanks

Not applicable
Author

Hi Satish,

Could you post the sample QV ?

Regards