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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Evaluating Max of text column converted to number

I would like to format my Reporting Month Number as type String / Text so that it does not auto-aggregate eg sum when it is dragged into a visual.

 

But my time intelligence formulas are reliant on this column being formatted as data type number.

 

See below measure expression as an example. It won't evaluate because in the highlighted section it is comparing a column that is now text to a number. 

 

I have tried in the below example to convert the column for the purpose of the measure from text to number using the VALUE function, but I am getting an error that says "MAX function only accepts a column reference as argument".

How/which function can I use in my measure for this to evaluate with Reporting Month Number as type String / Text? 

 

 

nikilouwgmail_0-1689077106323.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

2 REPLIES 2
johnt75
Super User
Super User

Instead of converting to text just change the summarize property to "don't summarize".

Anonymous
Not applicable

Thank you

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.