Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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 |
---|---|
131 | |
71 | |
70 | |
58 | |
54 |
User | Count |
---|---|
194 | |
95 | |
65 | |
62 | |
53 |