Forum Discussion
blithechan
8 years agoAdvocate I
DAX Function CONCATENATEX is not supported on PBIRS / DirectQuery Mode
Hi all, I tried to use DAX function CONCATENATEX using DirectQuery mode. It works fine on PBI Desktop. But when I run the report on on-prem PBIRS, the following error message "Function CONCANTENA...
- 8 years ago
Hmm, yeah for something simple like that you could do something like:
Measure = MAXX(FILTER('#Currencies',[Currency]="HKD"),[Currency]) & "," & MAXX(FILTER('#Currencies',[Currency]="USD"),[Currency]) & "," & MAXX(FILTER('#Currencies',[Currency]="RMB"),[Currency])But that's really not any better than just creating a measure that is = "HKD,USD,RMB" and I assume this is a small subset of your data.
Greg_Deckler
8 years agoCommunity Champion
Hmm, yeah for something simple like that you could do something like:
Measure =
MAXX(FILTER('#Currencies',[Currency]="HKD"),[Currency]) & "," &
MAXX(FILTER('#Currencies',[Currency]="USD"),[Currency]) & "," &
MAXX(FILTER('#Currencies',[Currency]="RMB"),[Currency])But that's really not any better than just creating a measure that is = "HKD,USD,RMB" and I assume this is a small subset of your data.
blithechan
8 years agoAdvocate I
Thanks Greg for suggesting MAXX function. It serves the purpose well.