Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am trying to create the column "Final Completed" as the example below. In this example i have three projects which have four steps. In the Final Complete column i want to pull the date the project was completed for each of the projects. If the date is blank at the 700 milestones which is the last step. then i don't want it to populate for that project.
I have tried Final Completed= Calculate(Max(Milestone), table1[Record ID]=earlier(table1[record ID])
the data just repeats itself, I tried lookupvalue as well and trying to add filters as well no luck. Any help will be greatly appreciated.
Record ID | Description | Milestone | Milestone Completed | Final Completed |
1 | 1st Step | 200 | 2/5/2020 | 2/6/2020 |
1 | 2nd Step | 400 | 2/6/2020 | 2/6/2020 |
1 | 3rd Step | 600 | 2/6/2020 | 2/6/2020 |
1 | 4th Final Step | 700 | 2/6/2020 | 2/6/2020 |
2 | 1st Step | 200 | 2/6/2020 | |
2 | 2nd Step | 400 | 3/7/2020 | |
2 | 3rd Step | 600 | 7/7/2020 | |
2 | 4th Final Step | 700 | ||
3 | 1st Step | 200 | 3/5/2020 | 5/23/2020 |
3 | 2nd Step | 400 | 4/2/2020 | 5/23/2020 |
3 | 3rd Step | 600 | 5/2/2020 | 5/23/2020 |
3 | 4th Final Step | 700 | 5/23/2020 | 5/23/2020 |
Solved! Go to Solution.
hi @Anonymous
Please add a FILTER Funtion your formula and add a conditional that table1[Milestone]=700
https://docs.microsoft.com/en-us/dax/filter-function-dax
Result:
Regards,
Lin
hi @Anonymous
Please add a FILTER Funtion your formula and add a conditional that table1[Milestone]=700
https://docs.microsoft.com/en-us/dax/filter-function-dax
Result:
Regards,
Lin
Awesome!! thank you for quick reply everyone. I am still trying to learn the EARLIER Function and when to use FILTER fucntion
Try
final calculated = maxx(FILTER(Sheet1,Sheet1[Description]="4th Final Step" && Sheet1[Record ID]=EARLIER(Sheet1[Record ID])),Sheet1[Milestone Completed])
Link: https://www.dropbox.com/s/m1c5minott5hf30/Milestone.pbix?dl=0
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |