Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello!
I have a problem with concat function. I'm try get string with top 4 countrys by sels in string with comma delimitr.
But i need sort it to use SubField after in setAnalysis... so, if i dont use sort inside concat it work fine, but if i user sort expression function (concat) gives my not sort string + the same string sort...
What i do wrong?
may be this
Concat({<Country = {"=Rank( Sum( Sale))<3"}>} distinct Country,', ', -aggr(nodistinct Sum(Sale),Country))
Perhaps this?
Match(country, $(=Concat(distinct {<country={"=Rank($(vDep))<5"}>} Chr(39) & country & chr(39))))
This dont work for me... empty string return...
What it is returning in Text box?
Concat(distinct {<country={"=Rank($(vDep))<5"}>} Chr(39) & country & chr(39))
now i use in function subfield index 5,6,7,8... becouse 1,2,3,4 - not sorting string...bot im wont deal with the problem
Something this then?
Match(country, $(=Concat(distinct {<country={"=Rank($(vDep))<5"}>} Chr(39) & country & chr(39), Chr(44))))
nop, epty string returns
Where you are trying this? Is that something you are using in Sort expression?
Im using in text area. Nothing special, something like Sum(sales)