
Creator
2019-10-17
01:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Variable with multiple values
Hi Guys,
Used an expression
sum({<Measure_Code={'$(_vToggleExp2)'}>}VALUE)/1000000
Previously:_vToggleExp2=1
Currently: i want to pass multiple values _vToggleExp2=1,3(which is not working),I can't change the expression,i want to do change at variable level.
Kindly suggest.
Regards,
Giridhar Randive
3,232 Views
1 Solution
Accepted Solutions

Creator
2019-10-17
03:10 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
'1'&chr(39)&','&chr(39)&'3'
3,180 Views
6 Replies

Specialist
2019-10-17
02:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try setting your variable like: _vToggleExp2= 1' , '3
3,216 Views

Creator
2019-10-17
02:21 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did't worked

Partner Ambassador/MVP
2019-10-17
02:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this.
sum({<Measure_Code={"$( =Replace(_vToggleExp2,',','","') )"}>}VALUE)/1000000
Assuming _vToggleExp2 contains value as 1,3
Regards,
Kaushik Solanki
Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
3,198 Views

Creator
2019-10-17
02:47 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can't make changes at expression level(Some Constraints),Cant make a change only at variable level.
3,193 Views

Creator
2019-10-17
03:10 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
'1'&chr(39)&','&chr(39)&'3'
3,181 Views

Specialist
2019-10-17
03:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you sure your expression is: sum({<Measure_Code={'$(_vToggleExp2)'}>}VALUE)/1000000 ?
3,173 Views
