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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Obtain MAX of column and display for each row

Hi,

 

I'm trying to obtain the MAX of a particular column and place this as a new Measure within each ROW of the same dataset. Please see the example below:

 

2019-03-12 13_44_10-Book1 - Excel.png

 

Is this possible in DAX and via DirectQuery?

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@Anonymous ,

 

You may try the following measure.

Measure =
MAXX ( ALLSELECTED ( Table1 ), Table1[Value] )
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@Anonymous ,

 

You may try the following measure.

Measure =
MAXX ( ALLSELECTED ( Table1 ), Table1[Value] )
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @Anonymous ,

 

you can use DAX.

Add new column. Max = MAX(Value)

Max.JPG

Best regards

Timo

Anonymous
Not applicable

Hi Timo,

 

Thanks for the suggestion but this doesn't work with LiveConnection to a Tabular Model. 

 

When I use MAX in LiveConnection I receive the following error message:

 

The report measure MaxValue has a syntax or semantic error at line 1, position 6, reported by Analysis Services: 'Column, 'Value' in table XXX cannot be found or may not be used in this expression.

 

I know this could be added to the Tabular Model, but for reasons I'd rather not go into, this is unfortunately not possible.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.