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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.