Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hello,
I have a database with the following structure:
| ID | In Point | Out Point | Desired Column |
| A | 0 | 0 | 0 |
| A | 1 | 0 | 1 |
| A | 0 | 0 | 1 |
| A | 0 | 1 | 1 |
| A | 0 | 0 | 0 |
| B | 1 | 0 | 1 |
| B | 0 | 1 | 1 |
| B | 0 | 0 | 0 |
| B | 1 | 0 | 1 |
| B | 0 | 1 | 1 |
I have on data base the entry point (IN POINT) since which I would like to filter a specific ID and an exit point (OUT POINT). I would like to have a Calculated Column that returns 1 for every time it is activated between the in/out points.
It seems easy but I cannot manage to make it work. I would appreciate your help
I don't see any pattern. Row 3 is 0,0,1. Row 5 is 0,0,0
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |