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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Syndicate_Admin
Administrator
Administrator

Power Query table transformation-Mode

Hi,

I was wondering is there any way if we can get the highlighted row as result using power query? in Power BI. So basically its getting Maximum number of Count to be displayed for that specific login User . As table shows, "12345" worked on June 4th for the given Areas out of which maximum he worked was in "Area21" is there any way to display just those two record. Not sure if MODE function will be helpful i tried but it didnt worked.

 

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

I tried the given formula using Custom Column but after applying it brings me this result when i expand the table.

It is not a formula for a custom column. You need to add it in the advanced editor and make the appropriate changes in the previous step references as well as in any subsequent steps that might be in your m code

ronrsnfld
Super User
Super User

Table.SelectRows(#"Previous Step", each [Count] = List.Max(#"Previous Step"[Count]))

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.