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 there!
I am somewhat new to DAX and I am running into an issue:
I am using the "Opportunities Table" from the Regional Sales Sample pbix file and I am trying to do the following:
In the above table that I have created, for each Purchasing Process and Sales Stage, I wanted to know the earliest created date.
The DAX that I created for the "Earliest Created Date" was as follows:
Solved! Go to Solution.
Hi @MRUGLADIATOR,
Please try this DAX formula:
SUM Value EarliestDate =
VAR _EarliestDate = [Earliest Created Date]
VAR _Table =
FILTER(
Opportunities,
[Opportunity Created On] = _EarliestDate
)
VAR _Result =
SUMX(
_Table,
Opportunities[Value]
)
RETURN
_Result
The final output should be this:
I'm attaching the pbix file with my solution.
Proud to be a Super User!
Hi @MRUGLADIATOR,
Please try this DAX formula:
SUM Value EarliestDate =
VAR _EarliestDate = [Earliest Created Date]
VAR _Table =
FILTER(
Opportunities,
[Opportunity Created On] = _EarliestDate
)
VAR _Result =
SUMX(
_Table,
Opportunities[Value]
)
RETURN
_Result
The final output should be this:
I'm attaching the pbix file with my solution.
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 |
---|---|
80 | |
76 | |
61 | |
36 | |
32 |
User | Count |
---|---|
91 | |
60 | |
59 | |
49 | |
45 |