Forum Discussion
CONCATENATEX not working with relationship
I have simple model with one:many relationship on column Invoice No.
table one = sql server directquery
table many = sharepoint list
All I need is fill selected invoice numbers into variable var_customer_number.
When I select row in table visual, my variable var_customer_number is empty in case when in the table on many has no row for that invoice.
When there is data in many side table, variable returns data correctly.
Dax expression:
If I change my many table to sql server table direct query this DAX expression works. But it does not work with sharepoint list.
Any idea why or how to workaround this?variable is emptyrelationshipvariable is filled
3 Replies
- amitchandak
Super User
aaldo_666 , It should work. is there any matching data?
- aaldo_666
Helper I
Yes, there is one row in MANY table - see DateSent column with date. When there is matching row, DAX expression works fine, but when there is no mathing row expression is blank.
But all columns in the table are from ONE table and only DateSent is from MANY tables. I dont understand why that should matter for DAX.
- aaldo_666
Helper I
I tested that model with import mode and DAX works fine there. So it looks like problem is with DAX in DirectQuery mode when there is no matching row in MANY table.