daxudf
1 TopicDAXUDF Reference a column
So, i want to make a DAX UDF that takes a (one-column) table as input and outputs a concatenation of all distinct values. Something like: DEFINE FUNCTION ConcValues = (column: Table) => CONCATENATEX( DISTINCT(column), ???columnName???, ", ") Since i can pass any table, the column name is variable and cannot be hard-coded in the UDF. Any ideas how to implement this? How to make a reference to a column name? Or how to reference the column of a table by a number, i.e. the 2nd column of the table or the first column, etc)Solved1.2KViews1like3Comments