Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
MBegum
Frequent Visitor

Dax Filter on Measure

Hi all,

 

I am new to DAX expressions and am trying to work out the current academic year based on the start and end dates. I have managed to write a dax expression in DAX studio using filter() function which returns the result expect but when I apply this to a measure in Power BI Desktop I get the error message "too many arguments were passed to the filters function. The maximum argument count for the function is 1)". 

 

Could someone help and advise what I'm doing wrong?

 

example of the table

 

Academic Years.PNG

dax formula created

image.png

Error in Power BI desktop

image.png

 

Thanks

 

Monju

5 REPLIES 5
AlexisOlson
Super User
Super User

It looks like you wrote FILTERS instead of FILTER in desktop.

I tried with FILTER() too and am still getting the same error.

That doesn't make sense. It should at least give a different error since FILTER expects two arguments.

Apologies, the message is slightly different. I'm a confused as to why the dax expression works in DAX studio but not in Power Bi.image.png

Are you defining CYOE as a calculated table? The error makes me think you are trying to define a measure or a calculated column with a table definition, which doesn't make sense.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.