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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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

riishabhzz_1-1668787174309.png

 

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

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors