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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
h_distler
Regular Visitor

Take only last record of Month and grouping a table

Hi,

 

I have searched around the Community but only found examples which are slightly different.

As others were saying sounds easy, but somehow I struggle.

So what am I trying to do:

I am tracking the "monthly" amount which is available on some accounts.

For this I just want to keep the last record of a month (including the current month) per group.

 

I have this input:

input.png

and I want this output:

output.png

I have created an excel file with the data.

download

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User
3 REPLIES 3
h_distler
Regular Visitor

This is great thanks a lot

 
CNENFRNL
Community Champion
Community Champion

CNENFRNL_0-1678453935795.png

 


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Ahmedx
Super User
Super User

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.