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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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