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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
dshah12
Helper II
Helper II

Get the Maximum Date with comparision wrt other column

App noDates  
233315th March,2022  
233313th March,2023  
255513th March,2021  
255514th March,2022  

 

I want to return values with max date with respect to app no for example the below table shows the representation of values to return I utilized List.Max but it gives max for whole column I want it to compare wrt App no


But the dates are in the different tables and the data is coming with the direct query

233313th March,2023
2555 14th March,2022
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @dshah12 ,

 

Here are the steps you can follow:

Create measure.

Measure =
    MAXX(
        FILTER(ALL('Table'),
        'Table'[App no]=MAX('Table'[App no])),[Dates])

vyangliumsft_0-1686536745397.png

Create calculated table.

Table 2 =
SUMMARIZE(
    'Table','Table'[App no],
    "Date",
    MAXX(
        FILTER(ALL('Table'),
        'Table'[App no]=EARLIER('Table'[App no])),[Dates])
    )

vyangliumsft_1-1686536745400.png

 

Best Regards,

Liu Yang

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

4 REPLIES 4
Anonymous
Not applicable

Hi  @dshah12 ,

 

Here are the steps you can follow:

Create measure.

Measure =
    MAXX(
        FILTER(ALL('Table'),
        'Table'[App no]=MAX('Table'[App no])),[Dates])

vyangliumsft_0-1686536745397.png

Create calculated table.

Table 2 =
SUMMARIZE(
    'Table','Table'[App no],
    "Date",
    MAXX(
        FILTER(ALL('Table'),
        'Table'[App no]=EARLIER('Table'[App no])),[Dates])
    )

vyangliumsft_1-1686536745400.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

What to do if  Application number and Date is in different tables 

nvprasad
Solution Sage
Solution Sage

Hi dshah12,

Simple MAX function will give this requried output. Please refer to the below snapshot.

 

nvprasad_0-1686251992038.png

 

Appreciate a Kudos! ‌‌
If this helps and resolves the issue, please mark it as a Solution! ‌‌

Regards,
N V Durga Prasad

Did I answer your question? Mark my post as a solution! Appreciate your Kudos.
Follow me on LinkedIn.

Thanks but it gives max for whole column instead of specific App No

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors