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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors