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: 
davyqliks
Specialist
Specialist

Force 2 dimensions to a single line in a table

Hi All,

Im not sure if this is possible and i dont even have a suggestion on how i would achieve the required result, so i just throw it out to the Pro's.

I have the below table

davyqliks_0-1664547021465.png

The Dimensions [2021 Score] and [2022 Score] are defined by If expiry date = Year, show score. So i understand why these 2 dimensions are on 2 lines, however, after removing the 2 date fields, i would like the table to look like the below mockup.

davyqliks_1-1664547579047.png

Is this possible?

 

Labels (3)
5 Replies
micheledenardi
Specialist II
Specialist II

Create a table with following dimension:

-Country

-Factory Profile

-Standard

-Certificate Document

-Total Non Compliances

 

Then add two measures:

=Concat([2021 Score],'')

=Concat([2022 Score],'')

 

and you'll get this:

2022-09-30 20_02_47-Window.png

 

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
davyqliks
Specialist
Specialist
Author

Hi,

Thank yo so much for the suggestion but this has not worked as expected.

I have the following:

davyqliks_1-1664790986398.png

davyqliks_2-1664791000245.png

 

 

davyqliks_0-1664790967047.png

 

I'm not sure how the concat works like this so no idea on how to fix, any suggestion would be appreciated.

thanks

 

Daniel

 

davyqliks
Specialist
Specialist
Author

I have now had a read of the Concat Function, i really need the data to be in its own coloun but on the same line. Is this possible? thanks

 

Daniel

micheledenardi
Specialist II
Specialist II

Probably there is something in your dataset which is causing the row split.

Please share your QVF so we can check your dataset.

Otherwise we cannot help you.

 

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
davyqliks
Specialist
Specialist
Author

Hi,

Thank you for your time, unfortunately i cannot send the qv data.

 

PLease can you just confirm.

The 2 score letters have different dates so are forced onto 2 lines, if i were to remove all data from the table which conflicts and only left fields with the same data for the 2 records, 

Is it actually possible to get these 2 values onto the same line?

like this?

davyqliks_0-1664808175633.png

thanks for your advice 

 

Daniel