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! Request now

Reply
Syndicate_Admin
Administrator
Administrator

How to create a measure that takes the maximum filtered date

Good Day, I have a query of a report that I am creating with respect to a measure that I want to create to be able to show the sales I make in the day, in the report I am showing the accumulated sales and I need to show the sales made in the day according to how the day segmenter is running, have a year segmenter, another of Month and one of day which is created with less than, so you can slide the same and seeing the accumulated, what I want is that the measure of daily sale to be positioned for example on day 1 to 25, show me only the sales of the day 25 not an accumulated

shot_220509_093931.png

1 ACCEPTED SOLUTION
SpartaBI
Community Champion
Community Champion

@Syndicate_Admin in case you use a date dimesntion table than it's simple as this:

 

Last Selected Date Sales = CALCULATE([Sales], LASTDATE('Date'[Date]))

 

 

In case it answered your question, please accept it as a solution to help the other members find it more quickly. Appreciate Your Kudos 💪
Showcase Report – Contoso By SpartaBI 
Website Linkedin Facebook 
This is SpartaBI!

View solution in original post

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

Thank you very much, perfect solution

@Syndicate_Admin my pleasure 🙂 Please don't forget to accept it as a solution to help the other members find it more quickly. Appreciate Your Kudos👍

SpartaBI
Community Champion
Community Champion

@Syndicate_Admin in case you use a date dimesntion table than it's simple as this:

 

Last Selected Date Sales = CALCULATE([Sales], LASTDATE('Date'[Date]))

 

 

In case it answered your question, please accept it as a solution to help the other members find it more quickly. Appreciate Your Kudos 💪
Showcase Report – Contoso By SpartaBI 
Website Linkedin Facebook 
This is SpartaBI!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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