Forum Discussion

Thornell's avatar
Thornell
Frequent Visitor
6 years ago
Solved

Find Max value in Alphanumeric that has multiple numbers

Hi,   I've got some data that I'm trying to get a max value of in this one column called B-Tier. The column has both numbers and text within it, but also has multiple copies of this (my organisati...
  • Gordonlilj's avatar
    6 years ago

    Hi,

     

    You could try and follow the excel power query guide here Extract Largest Number (Power Query & Flash Fill solutions) and see if it gives you the result you need.

    Create custom columns in power query and follow the steps in the post or you could use the code below perhaps

     

    List.Max(
    List.Transform(
    Text.Split(
    Text.Combine(
    List.Transform(
    Text.ToList([#"B-Tier"]),each if Value.FromText( _ ) is text then " " else _ ))," "),each Value.FromText(_)*1))