The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Remember that a single row/single column table result will be treated as a scalar by DAX.
You get extra points for using PATHITEM creatively, but what's wrong with TOPN(,1) ?
@lbendlin wrong is that it is not working as return all values instead only One scalar