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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
ramanannad
Contributor III
Contributor III

Append variable into dimension

Hi Experts,

Have an inquiry on how do we append a value from a front-end variable into a loaded field from data source ?

Visualization :

Source table(excel file):

NameSales
MrA100
MrB101
MrC

102

frontend Variable(achieved thru an input box extension):

VariableValue
vTstnameMrD

Expected Output :

NameSales
MrA100
MrB101
MrC

102

MrD-

Or just ignoring the measure, we just need :

Name
MrA
MrB
MrC
MrD

Hope you guys any an idea about this, cheers

Ram

2 Replies
Anil_Babu_Samineni

Try this?

LOAD * Inline [

Name, Sales

MrA, 100

MrB, 101

MrC, 102

];

Concatenate

LOAD * Inline [

Name

'$(Variable)'

];

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
effinty2112
Master
Master

Hi Ramanan,

Try this calculated dimension

=Name & if(isnull(Name),vTstname)

Cheers

Andrew