Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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).
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
105 | |
78 | |
68 | |
63 |
User | Count |
---|---|
148 | |
107 | |
106 | |
84 | |
70 |