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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Stubby
Helper I
Helper I

help with Summarize

Hi All

Please can I have some help with the following:

I have the following DAX creating a table that is pulling Item from the main items table. As you can see from the screen shot below some items have had multiple revisions. How do I create a table that shows the highest revision number. so in the table below i would like to only see revision 20.0

 

Any help would be much appreciated.

 

Stubby_0-1651835587858.png

 

1 ACCEPTED SOLUTION
sanalytics
Super User
Super User

@Stubby 

 

Can you try 
summarize(les_items_data,les_items_data[item_id],les_items_data[Tile],"Max Revison",Max(les_items_data[Revision_Number] ) )

and let us know if it works or not.

 

Regards

sanalytics

 

if it is your solution then please like and accept it as your solution

View solution in original post

6 REPLIES 6
sanalytics
Super User
Super User

@Stubby 

 

Can you try 
summarize(les_items_data,les_items_data[item_id],les_items_data[Tile],"Max Revison",Max(les_items_data[Revision_Number] ) )

and let us know if it works or not.

 

Regards

sanalytics

 

if it is your solution then please like and accept it as your solution

Hi sanalytics

 

yes that did work if I took out the Title element which changed on each revision.

 

Many thanks

 

@Stubby 

 

Glad it works..Much appreciate if you provide kudos.

 

Regards

sanalytics

I've Kudos your last post 😁

Could I ask for a little more help!

by applying your solution i get the following result

Stubby_0-1651844152930.png

I gather the summarize is saying each of the titles is unique hence why they are showing. I only want to show the Title with MaxRevision 20 (in this example). My ulitimate goal is to have a table that shows the most recent Item Title for each Item_id.

 

 

@Stubby 

Please provide some dummy data to work on..

 

Regards

sanalytics

Thanks for the reply. Since posting the database owner has changed his requirements and no longer requires what I am trying to achieve. Your initial help was much appreciated though

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.