This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
I am wanting to combine rows that have like ticket numbers and create a new column that will only display the the ealierst date from those tickets. I am fairly new to PBI so I apologize if more info is needed or is not detailed correctly.
Currently the table looks like this:
| SR_Service_RedID | Entered_By | Time_Start_UTC | Time_End_UTC |
| 123456 | joe | 11/6/17 8:30 PM | 11/6/17 9:30 PM |
| 123456 | bob | 11/7/17 10:30 PM | 11/7/17 11:00 PM |
| 123456 | tim | 11/8/17 6:30 PM | 11/8/17 7:00 PM |
| 987654 | bob | 12/6/17 6:30 PM | 12/6/17 7:00 PM |
| 987564 | joe | 12/12/17 9:30 PM | 12/12/17 10:00 PM |
| 987654 | tim | 1/11/18 6:30 PM | 1/11/17 7:00 PM |
I am the new column to just display the first time entry on the ticket like this:
| SR_Service_RedID | Entered_By | Time_Start_UTC | Time_End_UTC | First_Time |
| 123456 | joe | 11/6/17 8:30 PM | 11/6/17 9:30 PM | 11/6/17 8:30 PM |
| 123456 | bob | 11/7/17 10:30 PM | 11/7/17 11:00 PM | 11/6/17 8:30 PM |
| 123456 | tim | 11/8/17 6:30 PM | 11/8/17 7:00 PM | 11/6/17 8:30 PM |
| 987654 | bob | 12/6/17 6:30 PM | 12/6/17 7:00 PM | 12/6/17 6:30 PM |
| 987564 | joe | 12/12/17 9:30 PM | 12/12/17 10:00 PM | 12/6/17 6:30 PM |
| 987654 | tim | 1/11/18 6:30 PM | 1/11/17 7:00 PM | 12/6/17 6:30 PM |
Or somehow create a column that marks the first time and then I can sort it out while making the report.
Thanks!
Solved! Go to Solution.
Was able to figure out how to create the column by using:
column = CALCULATE(MIN(Time_Entry[Time_Start_UTC]), FILTER(Time_Entry, Time_Entry[SR_Service_RecID]=EARLIER([SR_Service_RecID])))
Was able to figure out how to create the column by using:
column = CALCULATE(MIN(Time_Entry[Time_Start_UTC]), FILTER(Time_Entry, Time_Entry[SR_Service_RecID]=EARLIER([SR_Service_RecID])))
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 19 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 24 | |
| 23 | |
| 20 | |
| 20 | |
| 19 |