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.
I have this table with date, status and ordernumber.
Date | Status | OrderNumber |
01/01/2024 | 10 | 1000 |
01/02/2024 | 20 | 1000 |
01/03/2024 | 30 | 1000 |
01/04/2024 | 30 | 1000 |
01/05/2024 | 40 | 1000 |
01/06/2024 | 50 | 1000 |
01/01/2025 | 10 | 1100 |
01/02/2025 | 20 | 1100 |
01/06/2025 | 30 | 1100 |
01/04/2025 | 30 | 1100 |
01/05/2025 | 30 | 1100 |
01/06/2025 | 50 | 1100 |
For each OrderNumber, I want to find the first date that is on a row with status 30.
In a calculated column, that row must get a 1, the other rows should get a 0.
Date | Status | OrderNumber | Calculated Column |
01/01/2024 | 10 | 1000 | 0 |
01/02/2024 | 20 | 1000 | 0 |
01/03/2024 | 30 | 1000 | 1 |
01/04/2024 | 30 | 1000 | 0 |
01/05/2024 | 40 | 1000 | 0 |
01/06/2024 | 50 | 1000 | 0 |
01/01/2025 | 10 | 1100 | 0 |
01/02/2025 | 20 | 1100 | 0 |
01/06/2025 | 30 | 1100 | 0 |
01/04/2025 | 30 | 1100 | 1 |
01/05/2025 | 30 | 1100 | 0 |
01/06/2025 | 50 | 1100 | 0 |
Thank you for your help on this.
Solved! Go to Solution.
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 |
---|---|
14 | |
11 | |
10 | |
10 | |
10 |
User | Count |
---|---|
16 | |
13 | |
12 | |
11 | |
8 |