Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi.
I would like to know if this calculated column in DAX is possible to be achieved in Advanced Editor (M language):
Solved! Go to Solution.
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.
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.
Perfect. Thank you very much.
Is there always a unique value satisfying those conditions? VALUES will return a list rather than a single value if not.
Yes, guaranteed always a single value per satisfied conditions.
Hey @jfontoura ,
from a first look you should be able to do that in M.
There you might have to do a join (Merge queries).
User | Count |
---|---|
93 | |
83 | |
77 | |
74 | |
66 |
User | Count |
---|---|
115 | |
105 | |
93 | |
65 | |
60 |