Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 @Anonymous ,
from a first look you should be able to do that in M.
There you might have to do a join (Merge queries).
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
71 | |
70 | |
38 | |
26 | |
26 |
User | Count |
---|---|
100 | |
87 | |
45 | |
43 | |
35 |