Forum Discussion
Anonymous
5 years agoNot applicable
DAX script to M language
Hi. I would like to know if this calculated column in DAX is possible to be achieved in Advanced Editor (M language): calculatedColumn = CALCULATE ( VALUES ( 'AuxTable'[value] ), FILTER ( 'A...
- 5 years ago
I think the custom column would look something like this:
Table.SelectRows(AuxTable, (row) => row[start_date] <= [date] and row[end_date] >= [date])[value]{0}In the above, row is just a variable name. I could have used x or r or _ or whatever.
AlexisOlson
5 years agoSuper User
I think the custom column would look something like this:
Table.SelectRows(AuxTable, (row) => row[start_date] <= [date] and row[end_date] >= [date])[value]{0}In the above, row is just a variable name. I could have used x or r or _ or whatever.
Anonymous
5 years agoNot applicable
Perfect. Thank you very much.