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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

Calculate first 10 Sales from a selected date

Good morning

I have a measure [Total Sales]. I'm looking to have a new measure to show the first 10 records from a selected date range that then calculates the [Total Sales] 

 

Thank you in advance

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Not very clear, By what rules are these 10 records filtered? 
Try using filtering on visual objects to see if this solves the question.

vcgaomsft_2-1651566138398.png

vcgaomsft_1-1651566110528.png

Attached PBIX file for reference.

 

If this doesn't work for you, would you mind providing some data that does not contain private information?

It makes it easier to give you a solution.

  1. Sample (dummy dataset) data as text, use the table tool in the editing bar
  2. Expected output from sample data
  3. Explanation in words of how to get from 1. to 2.

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

 

Best Regards,
Community Support Team Gao

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems with it, please feel free to let us know. Thanks a lot!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thank you @Anonymous 

 

Thats the solution I eventually came up with too. 

Anonymous
Not applicable

Hi @Anonymous ,

 

Not very clear, By what rules are these 10 records filtered? 
Try using filtering on visual objects to see if this solves the question.

vcgaomsft_2-1651566138398.png

vcgaomsft_1-1651566110528.png

Attached PBIX file for reference.

 

If this doesn't work for you, would you mind providing some data that does not contain private information?

It makes it easier to give you a solution.

  1. Sample (dummy dataset) data as text, use the table tool in the editing bar
  2. Expected output from sample data
  3. Explanation in words of how to get from 1. to 2.

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

 

Best Regards,
Community Support Team Gao

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems with it, please feel free to let us know. Thanks a lot!

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
Top Kudoed Authors