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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
zeke1970
Regular Visitor

Return Earliest Timestamp Based on Filter Selection

Hello,

 

I have been reseraching but cannot find the result I am looking for.   I want PowerBI to return the earliest timestamp based on Date slicer and customer slicer.

For example, if user selects Date 5/31/2025 and Customer A, I want PowerBI to return in table form:

 

Customer     Item                Purchase Date

A                  mushroom        5/31/2025 11:13:09 AM

 

Any assistance is appreciated!

 

 

 https://drive.google.com/file/d/1VbLxk4i6IOCc9-0a4vel-y3Q0KEcPP8P/view?usp=drive_link 

2 ACCEPTED SOLUTIONS
Ashish_Excel
Super User
Super User

Hi,

Download PBI file from here.

Hope this helps.

Ashish_Excel_0-1748745154633.png

 

View solution in original post

v-ssriganesh
Community Support
Community Support

Hi @zeke1970,
Thank you for reaching out to the Microsoft fabric community forum.

I’ve reproduced your use case and confirmed that I’m getting the expected output based on your requirements:

  • Earliest timestamp record displayed as per slicer selection.
  • Only the single row with the earliest timestamp appears.

Output:

vssriganesh_0-1748837647714.png

 

For your reference, I’m attaching the .pbix file with the implemented solution.

Thank you, @Ashish_Excel & @speedramps for sharing your valuable insights.


If this information is helpful, please “Accept as solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.

View solution in original post

10 REPLIES 10
speedramps
Super User
Super User

@zeke1970 

Thaks for accept 2 solution.
Please can you also accept mine.

It was one of the first and all the solutions work.

The points help reflect my competency and your gratitude.

Thank you for your assistance in the matter

 

v-ssriganesh
Community Support
Community Support

Hello @zeke1970,

Could you please confirm if your query have been resolved? If they have, kindly mark the helpful response and accept it as the solution. This will assist other community members in resolving similar issues more efficiently.

Thank you.

v-ssriganesh
Community Support
Community Support

Hi @zeke1970,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.

 

v-ssriganesh
Community Support
Community Support

Hi @zeke1970,
Thank you for reaching out to the Microsoft fabric community forum.

I’ve reproduced your use case and confirmed that I’m getting the expected output based on your requirements:

  • Earliest timestamp record displayed as per slicer selection.
  • Only the single row with the earliest timestamp appears.

Output:

vssriganesh_0-1748837647714.png

 

For your reference, I’m attaching the .pbix file with the implemented solution.

Thank you, @Ashish_Excel & @speedramps for sharing your valuable insights.


If this information is helpful, please “Accept as solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.

Hi @zeke1970,
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please accept it as a solution and give it a 'Kudos' so other community members with similar problems can find a solution faster.
Thank you.

Ashish_Excel
Super User
Super User

Hi,

Download PBI file from here.

Hope this helps.

Ashish_Excel_0-1748745154633.png

 

speedramps
Super User
Super User

The Date field has a Date/Time data type with short date formating.

It is important that you learn the difference between a data/type and formating

Changing the format just changes how the data will be displayed.

It wil not change the underlying value of the data in the releationship !

 

 

speedramps_0-1748634240180.png

If you remove the short date formating then you can clsee the problem with the relationship

 

speedramps_1-1748634432449.png

speedramps_2-1748634448331.png

speedramps_3-1748634732225.png

For example 28/05/2025 00:00:00 will not relate to 28/05/2025 14:20:00 because they are differt values !!!

 

Delete the relationship and delete the Date table (you dont need it)

Just add a new date column  (with a date type) on Table1 based  on Purchase Date

 

Then use that date in your slicer.

Then display the min Purchase Date (with time) for the sliced date.

 

Please click thumbs up and the [accept solution] button

 

 

 

zeke1970
Regular Visitor
speedramps
Super User
Super User

Please give access to your data, so helpers can hep you

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.