Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
jeevays7
Partner - Creator III
Partner - Creator III

Dimension value in a modifier

Hi All,

The below is the data source table:

ClassValue
Fx100
Fx200
Cash50
Cash50
Equity250

 

Now i need to show table like below:

NAMEValue
Fx300
Cash100
Commodity0
Equity250
Others0

 

in the above table NAME is a inline field i have created.

i need to write expression like :

Sum({<Class=NAME>}Value) in Value field in the above table.

How can i do this? i am not able to pass the NAME field value for Class field in set analysis.

Please help me

Labels (1)
3 Replies
vikasmahajan

While loading data in your script  change Class to NAME 

 

and set analysis will be like this 

Sum({<NAME={'Cash'} >}Value)

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
jeevays7
Partner - Creator III
Partner - Creator III
Author

Hi Vikas,

 

Thanks for your reply.

but i don't need to write condition for each dimension. it should be dynamic.

'Cash' is a hard coded value, i need to be automatically fetch this value from dimension value.

vikasmahajan

you can do this some thing like this post

https://community.qlik.com/t5/Qlik-Sense-Enterprise-Documents/Cycle-dimensions-using-a-variable-butt...

Vikas

 

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.