Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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 organisation is annoying for this).
An example of what is included in a cell within this column would be (numbered bullet list there just to help with asking question):
B-Tier
Is there a way to just find the highest value within those with text?
So for 3., keep only the highest value which is 3
and for 5., keep only the highest value of 4?
Cheers
Solved! Go to Solution.
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))
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))
You are a god-send my friend.
Been trying so many different things but to no avail.
Still fairly new to all this as well, but I'm the only one in our department that has any sort of experience with it so it all falls to me.
Thank you very much.
Saved me loads of time and horrible workarounds.