Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Can someone help me with this formula:
I just want to add somewhere in the formula lower([EXPLAIN]) but I don't know where
=Only({<[EXPLAIN ]={"*fr*", '*none*'}>} [EXPLAIN ])
Thanks in advance
try once below exp
Lower(Aggr(Only({<[EXPLAIN ]={"*fr*", '*none*'}>} [EXPLAIN ]),[EXPLAIN ]))
or
Aggr(Only({<Lower ([EXPLAIN ] )={"*fr*", '*none*'}>} [EXPLAIN ]),[EXPLAIN ])
Hi,
I don't think you can modify the left hand side of the set analysis condition. In this case I would typically load another field into the data model that contains the lower case version of EXPLAIN, and use that in the set analysis.
Thanks
Ben
Thanks
Yes of course, it will be a good idea but I'm an SU and I don't have any access to develop my own dim ...
try once below exp
Lower(Aggr(Only({<[EXPLAIN ]={"*fr*", '*none*'}>} [EXPLAIN ]),[EXPLAIN ]))
or
Aggr(Only({<Lower ([EXPLAIN ] )={"*fr*", '*none*'}>} [EXPLAIN ]),[EXPLAIN ])
Alternatively, you may be able to use an if statement with Wildmatch(), instead of set analysis, like this:
only( if(Wildmatch([EXPLAIN], '*fr*', '*none*')>0, [EXPLAIN]))
Thanks
Ben
Thanks a lot,
It works