Forum Discussion

blithechan's avatar
blithechan
Advocate I
8 years ago
Solved

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 CONCANTENATEX is not supported in DirectQuery mode".

 

 

Some DAX functions (e.g. STARTOFMONTH) is explicitly stating they are not supported in DirectQuery mode. But CONCATENATEX (https://msdn.microsoft.com/en-us/query-bi/dax/concatenatex-function-dax) has no such wordings until loading from PBIRS.

 

My on-prem PBIRS is the latest March 2018 release. Does anyone have any idea how to resolve this? Thanks

 

Regards,

Blithe

 

 

  • 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.

4 Replies