Forum Discussion

Erg_Harsh's avatar
Erg_Harsh
New Member
8 months ago

Problem with bulk write-back

Hi,

 

I've created a write-back function which initiates the bulk write-back. In order to initiate the bulk write-back, the function excepts a list of ID's delimited by ", " (comma and a space).

 

Now, in Power BI, when I write a DAX measure to create list of ID's using CONCATENATEX() function referencing a column from the dimension table, the button gets activated to initiate a write-back BUT the problem is, it creates a list of all the ID's on which write-back is not required to be initiated. So, then I filter out those ID's based on the reference either from a mesaure or from the fact table, so that write-back is initiated only and only onto the required ID's. And when this happens i.e., any association is created with the fact table, the write-back button simply goes blank.

 

I don't know whether this is a BUG or not. Because when a simple VALUES() function is used inside a CONCATENATEX() simply referencing a column from a dimension table, the button gets activated BUT as soon as any reference is made with the fact table in order to filter out the un-required ID's the button simply goes blank/in-activates.

 

Thanks,

4 Replies