Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
How to write not equal to in LET variable .
I want an variable like
LET vl.name <> 'AAA,BBB,CCC,DDD' using <> and minus '-' doesnot work.
TIA
Try this:
Script:
Set vl.name = 'AAA, BBB,CCC';
Expression:
sum({<[Dim1]-={$(vl.name)}>}[Measure])
Perhaps
LET Variable1 = '=Not Wildmatch([vl.name], 'AAA', 'BBB')';
Or maybe try:
Set var1='AAA,BBB,CCC,DDD' ;
LOAD *
RESIDENT <TABLENAME>
WHERE <COLUMNNAME> <>$(var1);
I used Let vl.name = 'AAA, BBB,CCC' and in set analysis while calling this variable i used minus '-'
Try this:
Script:
Set vl.name = 'AAA, BBB,CCC';
Expression:
sum({<[Dim1]-={$(vl.name)}>}[Measure])
Thanks for replying .Yes i did same and it worked