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.
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
User | Count |
---|---|
5 | |
4 | |
4 | |
2 | |
2 |
User | Count |
---|---|
8 | |
6 | |
4 | |
4 | |
4 |