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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
ak77
Post Patron
Post Patron

Measure for getting Minimun date from dataset

Hi All,

 

I need a help for a measure

 

I have client code , product and DateFrom columns in a dataset

 

and one client can have multiple products (one to many) for a day

 

i need a measure to get the MinDate for a product that was available for a particular client 

For Ex:

Min (Date From ) for product a for client 1

Min (Date From ) for product b for client 1

Min (Date From ) for product a for client 1

Min (Date From ) for product b1 for client 2

Min (Date From ) for product c for client 2

 

Please help

 

and so on 

2 REPLIES 2
vanessafvg
Community Champion
Community Champion

do you want to hard code for each scenario, can you provide an example of the the correct solution looks like





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




audreygerred
Super User
Super User

Hi! You can use the MIN function for DAx: MIN function (DAX) - DAX | Microsoft Learn

 

In your example, you could set up a table or matrix that has your product field, your client field, and the measure for MIN date. This will show you the earliest date available for whatever combination of product and client there is.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





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.