Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Heres the context:
Ive a table with Dates and names and Ids to the referred names, Showed as Follow:(Made the table in Excel to save some time)
I need it to return the name(or names if there are more than one in the same date) associated with the date as showed in the table above. The measure below only shows me the closest upcoming date compared to today(which is 02/02/2023).
Solved! Go to Solution.
Hi @BostonBI
You can refer to the following example
Create a new measure
Measure = var _mindate=MINX(FILTER(ALL('Table'),[Date]>=TODAY()),[Date])
return CONCATENATEX(FILTER(ALL('Table'),[Date]=_mindate),[Name],",")
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @BostonBI
You can refer to the following example
Create a new measure
Measure = var _mindate=MINX(FILTER(ALL('Table'),[Date]>=TODAY()),[Date])
return CONCATENATEX(FILTER(ALL('Table'),[Date]=_mindate),[Name],",")
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
117 | |
73 | |
58 | |
50 | |
48 |
User | Count |
---|---|
171 | |
122 | |
60 | |
59 | |
56 |