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
riishabhzz
Microsoft Employee
Microsoft Employee

too many arguments were passed to the MEDIAN function. The maximum argument count for the function 1

Hi Everyone ,

 

need small help from you .

i am getting below error :-

too many arguments were passed to the MEDIAN function. The maximum argument count for the function is 1.

 

in excel its working MEDIAN(0,140000,D36-350000) , D36 is having value column which i have used in Dax 

but in pbi dax 

MEDIAN(0,140000,sum(value)-350000)
 
pl help 🙂
 
1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

then try this:
MEDIANX({0,140000,sum([value])-350000}, [Value])
I tried and it works. 
FreemanZ_0-1668817830936.png

View solution in original post

6 REPLIES 6
FreemanZ
Super User
Super User

then try this:
MEDIANX({0,140000,sum([value])-350000}, [Value])
I tried and it works. 
FreemanZ_0-1668817830936.png

thanks a lot 🙂

riishabhzz
Microsoft Employee
Microsoft Employee

riishabhzz_1-1668787174309.png

 

riishabhzz
Microsoft Employee
Microsoft Employee

hi , 

i tried to do that but getting same error

 

riishabhzz_0-1668787008027.png

 

dont know what i am doing wrong

FreemanZ
Super User
Super User

try this

 

MEDIAN({0,140000,sum([value])-350000})

Heyy , i have shared screen-snip for your refrence in above trail 🙂

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.