March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
133 | |
90 | |
88 | |
64 | |
58 |
User | Count |
---|---|
203 | |
141 | |
107 | |
73 | |
70 |