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 dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
61 | |
61 | |
55 | |
38 | |
27 |
User | Count |
---|---|
85 | |
60 | |
45 | |
41 | |
39 |