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: 
prrajendran
Contributor III
Contributor III

Display values in straight table

Hi,

i have a table with some product numbers and some other fields displayed in straight table.

i have to display three names consecutively across each product numbers. how will i do this? please help me with the expression

for example , if i have the names John, Abbie, Emma. My output should be like  below:

Product NoUsername
30494John
30677Abbie
31086Emma
31742John
40005Abbie
40726Emma
41675John
  

 

 

Labels (1)
1 Solution

Accepted Solutions
m_woolf
Master II
Master II

Something like:

if(RowNo()/2 = Floor(RowNo()/2).'Abbie'.
       if(RowNo()/3 = Floor(RowNo()/3).'Emma.'John')) as UserName;

 

View solution in original post

4 Replies
m_woolf
Master II
Master II

Something like:

if(RowNo()/2 = Floor(RowNo()/2).'Abbie'.
       if(RowNo()/3 = Floor(RowNo()/3).'Emma.'John')) as UserName;

 

anushree1
Specialist II
Specialist II

Could you please let me know how the input data will be 

avinashelite

Your requirement is not clear , you are wanted to show customers/users for each product rite ? but in the example your product ID is different for all the users ..not user how your data looks like , could you share a sample data set and required output so that we could try to help 

prrajendran
Contributor III
Contributor III
Author

Thank you so much