Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all,
I have some trouble combining ALLEXCEPT with firstnoblank and summarize. My statement looks like this now:
@Anonymous , I think new index function can do a better job
Power BI Index function: Top/Bottom Performer by name and value- https://youtu.be/HPhzzCwe10U
like
Maxx(index(1,addcolums(allselected( data[year]), , "sales amount", SUM(data[sales]), orderby([sales amount],desc) ), data[year])
Hi @amitchandak,
Thanks for your response. Unfortunately, I can't get it right with your code. It seems to be a problem with the AddColumns part.
Do you have any further suggestions?
Many thanks!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |