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 take the earliest date based on criteria from two other columns. I need to track systems as they complete control testing of subcontrols to satisfy the base control. See example below:
System | Controls | Subcontrol | Date |
link | ac-1 | ac-1.2 | 1/15/2020 |
link | ac-1 | ac-1.4 | 5/5/2021 |
link | ac-1 | ac-1.9 | 5/6/2021 |
haltech | sc-2 | sc-2.3 | 2/20/2023 |
haltech | sc-2 | sc-2.4 | 2/20/2023 |
haltech | sc-2 | sc-2.7 | 4/2/2023 |
This is what I am trying to achieve:
System | Controls | Subcontrol | Date | Earliest test date |
link | ac-1 | ac-1.2 | 1/15/2020 | 1/15/2020 |
link | ac-1 | ac-1.4 | 5/5/2021 | 1/15/2020 |
link | ac-1 | ac-1.9 | 5/6/2021 | 1/15/2020 |
haltech | sc-2 | sc-2.3 | 2/20/2023 | 2/20/2023 |
haltech | sc-2 | sc-2.4 | 2/20/2023 | 2/20/2023 |
haltech | sc-2 | sc-2.7 | 4/2/2023 | 2/20/2023 |
Hi,
This calculated column formula works
=CALCULATE(MIN(Table1[Date]),FILTER(Table1,Table1[System]=EARLIER(Table1[System])&&Table1[Controls]=EARLIER(Table1[Controls])))
Hope this helps.
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 |
---|---|
105 | |
96 | |
75 | |
63 | |
62 |
User | Count |
---|---|
137 | |
105 | |
104 | |
80 | |
63 |