Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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
do you want to hard code for each scenario, can you provide an example of the the correct solution looks like
Proud to be a 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.
Proud to be a Super User! | |
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
74 | |
73 | |
56 | |
38 | |
31 |
User | Count |
---|---|
83 | |
64 | |
63 | |
49 | |
45 |