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
I thought the filter function was supposed to get around this error. Ugh. Here is my formula. BTW 'year' is formatted as a number.
calculate(distinctcount(Main[Vessel Imo]),filter(all('Calendar'[Year]),'Calendar'[Year]=max('Calendar'[Year]))
Solved! Go to Solution.
Hi @dniedrauer,
Try the same formula but remove column name after ALL:
Or as an alternative, you can create Current Year column and compare it against the Calendar Year something like this:
Hope it helps.
Regards
Abduvali
Hi @dniedrauer,
Try the same formula but remove column name after ALL:
Or as an alternative, you can create Current Year column and compare it against the Calendar Year something like this:
Hope it helps.
Regards
Abduvali
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!