cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
gp_ms Visitor
Visitor

Calculate Median for values in a row

Hello,

 

I am completely new to DAX, and PowerBI, and this must be very easy to do, but I must be missing some basic knowledge.

 

I have a Table in following format

 

                   SomeData MoreData Day1Count Day2Count Day3Count..... 

Device1

Device2

Device3

 ...

 

I would like to add a new column that for each Device calculates the Median value for Day1Count, Day2Count, Day3Count... values. What Can I pass as argument to MedianX?

 

Thanks!

1 REPLY 1
ankitpatira Super Contributor
Super Contributor

Re: Calculate Median for values in a row

@gp_ms In power bi desktop query editor, hightlight all count columns and calculate Median as shown below.

 

 

Capture.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 47 members 873 guests
Please welcome our newest community members: