Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to dislplay all the fields

Hi Friends,

I have created a pivot table with some fields and caluculated a measure from a table.

I want all the fields from the original table into a text box, if the user clik on any value of measrue.

Thanks

1 Solution

Accepted Solutions
jagan
Partner - Champion III
Partner - Champion III

Hi Pavan,

Use Concat()

='A Values : ' & Concat(DISTINCT A, ',') & chr(10)

'B Values : ' & Concat(DISTINCT  B, ',') & chr(10)

'C Values : ' & Concat(DISTINCT  C, ',') & chr(10)

'D Values : ' & Concat(DISTINCT  D, ',')

Hope this helps you.

Regards,

Jagan.

View solution in original post

8 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try using the getcurrentselections() function. If you click on a value in an expression column in a chart then the dimension values of that row are selected.


talk is cheap, supply exceeds demand
jagan
Partner - Champion III
Partner - Champion III

Hi,

Can you elaborate with an example?

Regards,

Jagan.

Not applicable
Author

thanks

But I want all the fields of original table not fields only present in the pivot table.

Thanks

Pavan

Not applicable
Author

Hi Jagan

Lets say I have a table  with fields A B C D amount.

I added only A B  and Amount.

Now I created a text box where I want all the fields A B C D when I clik on Amount.

Thanks

Not applicable
Author

Hi Gysbert

My problem is like this

Lets say I have a table  with fields A B C D amount.

I added only A B  and Amount.

Now I created a text box where I want all the fields  A B C D  and there values when I clik on Amount.

The expression  =concat(distinct FieldValue($Field,ValueLoop(1,$(=count($Field)))),';') is static.

Please help.

Thanks

jagan
Partner - Champion III
Partner - Champion III

Hi Pavan,

Use Concat()

='A Values : ' & Concat(DISTINCT A, ',') & chr(10)

'B Values : ' & Concat(DISTINCT  B, ',') & chr(10)

'C Values : ' & Concat(DISTINCT  C, ',') & chr(10)

'D Values : ' & Concat(DISTINCT  D, ',')

Hope this helps you.

Regards,

Jagan.

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

=$(=concat(chr(39)&$Field&': '&chr(39) & ' & ' & 'concat(distinct [' & $Field & '],' & chr(39) & ';' & chr(39) & ')' , ' & chr(10) & ' ))


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks