Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello Team
I want to add a new column based on specific text from the existing column by dates.
Filtered data should be sorted by the corresponding dates it reported, not by the full Date column.
First:- I am sorting the below data manually by adding a new col "Action Taken by" based on Worknote which contains "took" then "ECC took care" & if contains "escalated" then "Taken care by CX ".Please advise how can I add this in Power BI.
Second: - I am also sorting the data of duplicate entries of Worknote col by each the dates. How can I sort this by current or each dates.
| Number | Incident Start | Short description | Work notes | Description | Action taken by |
| IN25016341595 | 2025-01-31 23:57:29 z | IBM JOB - NEWSYS01 TSS - NA_CHC_PTD_GMI_P01 | 2025-02-01 02:42:22 CST - System (Work notes) Alert thas been Terminated in xMatters by the AIOPS SNOW to xMatters Flow 2025-02-01 02:42:21 CST - FIS xMatters Incident (Work notes) Poonam Gandhale : escalated | Entity ID: IBM JOB - NEWSYS01 TSS - NA_CHC_PTD_GMI_P01 - There is an issue with this job 084609/TSSOPER/#SFTPAM on Server NEWSYS01 Client NEWSYS01 TSS Entity Display Name: IBM JOB - NEWSYS01 TSS - NA_CHC_PTD_GMI_P01 Hostname: NEWSYS01 Message Type: CRITICAL Monitoring Tool: Geneos FIS Notification Type: IBM JOB Alert Type: IBM JOB Rule: #SFTPAM/084609.activeJobStatus Netprobe: 10.154.15.120 Component: NEWSYS01 Value: MSGW State Message: There is an issue with this job 084609/TSSOPER/#SFTPAM on Server NEWSYS01 Client NEWSYS01 TSS | Taken care by cx |
| IN25016341594 | 2025-01-31 23:57:29 z | IBM JOB - NEWSYS01 TSS - NA_CHC_PTD_GMI_P01 | 2025-02-01 02:42:28 CST - System (Work notes) Alert thas been Terminated in xMatters by the AIOPS SNOW to xMatters Flow 2025-02-01 02:42:27 CST - FIS xMatters Incident (Work notes) Poonam Gandhale : escalated | Entity ID: IBM JOB - NEWSYS01 TSS - NA_CHC_PTD_GMI_P01 - There is an issue with this job 069871/TSSOPER/#SFTPPM on Server NEWSYS01 Client NEWSYS01 TSS Entity Display Name: IBM JOB - NEWSYS01 TSS - NA_CHC_PTD_GMI_P01 Hostname: NEWSYS01 Message Type: CRITICAL Monitoring Tool: Geneos FIS Notification Type: IBM JOB Alert Type: IBM JOB Rule: #SFTPPM/069871.activeJobStatus Netprobe: 10.154.15.120 Component: NEWSYS01 Value: MSGW State Message: There is an issue with this job 069871/TSSOPER/#SFTPPM on Server NEWSYS01 Client NEWSYS01 TSS | Taken care by cx |
| IN25016341596 | 2025-01-31 23:57:29 z | IBM JOB - NEWSYS01 TSS - NA_CHC_PTD_GMI_P01 | 2025-02-01 02:42:35 CST - System (Work notes) Alert thas been Terminated in xMatters by the AIOPS SNOW to xMatters Flow 2025-02-01 02:42:33 CST - FIS xMatters Incident (Work notes) Poonam Gandhale : escalated | Entity ID: IBM JOB - NEWSYS01 TSS - NA_CHC_PTD_GMI_P01 - There is an issue with this job 084166/TSSOPER/#SFTPGMF on Server NEWSYS01 Client NEWSYS01 TSS Entity Display Name: IBM JOB - NEWSYS01 TSS - NA_CHC_PTD_GMI_P01 Hostname: NEWSYS01 Message Type: CRITICAL Monitoring Tool: Geneos FIS Notification Type: IBM JOB Alert Type: IBM JOB Rule: #SFTPGMF/084166.activeJobStatus Netprobe: 10.154.15.120 Component: NEWSYS01 Value: MSGW State Message: There is an issue with this job 084166/TSSOPER/#SFTPGMF on Server NEWSYS01 Client NEWSYS01 TSS | Taken care by cx |
| IN25016341592 | 2025-01-31 23:57:18 z | IBM JOB - NEWSYS01 NOM - NA_CHC_PTD_GMI_P01 | 2025-02-01 02:43:04 CST - System (Work notes) Alert thas been Terminated in xMatters by the AIOPS SNOW to xMatters Flow 2025-02-01 02:43:03 CST - FIS xMatters Incident (Work notes) Poonam Gandhale : escalated | Entity ID: IBM JOB - NEWSYS01 NOM - NA_CHC_PTD_GMI_P01 - There is an issue with this job 066773/NOMOPER/#SFTPPMU on Server NEWSYS01 Client NEWSYS01 NOM Entity Display Name: IBM JOB - NEWSYS01 NOM - NA_CHC_PTD_GMI_P01 Hostname: NEWSYS01 Message Type: CRITICAL Monitoring Tool: Geneos FIS Notification Type: IBM JOB Alert Type: IBM JOB Rule: #SFTPPMU/066773.activeJobStatus Netprobe: 10.154.15.120 Component: NEWSYS01 Value: MSGW State Message: There is an issue with this job 066773/NOMOPER/#SFTPPMU on Server NEWSYS01 Client NEWSYS01 NOM | Taken care by cx |
| IN25016341419 | 2025-01-31 23:31:14 z | IBM JOB - NEWSYS01 TSS - NA_CHC_PTD_GMI_P01 | 2025-02-01 01:24:26 CST - System (Work notes) Alert thas been Terminated in xMatters by the AIOPS SNOW to xMatters Flow | Entity ID: IBM JOB - NEWSYS01 TSS - NA_CHC_PTD_GMI_P01 - There is an issue with this job 069536/TSSOPER/NRMAINC on Server NEWSYS01 Client NEWSYS01 TSS Entity Display Name: IBM JOB - NEWSYS01 TSS - NA_CHC_PTD_GMI_P01 Hostname: NEWSYS01 Message Type: CRITICAL Monitoring Tool: Geneos FIS Notification Type: IBM JOB Alert Type: IBM JOB Rule: NRMAINC/069536.activeJobStatus Netprobe: 10.154.15.120 Component: NEWSYS01 Value: MSGW State Message: There is an issue with this job 069536/TSSOPER/NRMAINC on Server NEWSYS01 Client NEWSYS01 TSS | ECC took care |
| IN25016332762 | 2025-01-30 23:11:19 z | GMI_JOBS_ACTIVE - GMI - PD_UTILITIES_BARC_P01 | 2025-01-30 23:17:00 CST - FIS xMatters Incident (Work notes) Archana Acharya : TOOK R 2025-01-30 23:16:58 CST - System (Work notes) Alert thas been Terminated in xMatters by the AIOPS SNOW to xMatters Flow | Entity ID: GMI_JOBS_ACTIVE - GMI - PD_UTILITIES_BARC_P01 - There is an issue with this job BCIOPER/SDMAINC/978533 Entity Display Name: GMI_JOBS_ACTIVE - GMI - PD_UTILITIES_BARC_P01 Hostname: GMI Message Type: CRITICAL Monitoring Tool: Geneos FIS Notification Type: GMI_JOBS_ACTIVE Alert Type: GMI_JOBS_ACTIVE Rule: SDMAINC/978533.activeJobStatus Netprobe: 10.154.22.10 Component: BARCLAYS Value: MSGW State Message: There is an issue with this job BCIOPER/SDMAINC/978533 | ECC took care |
| IN25016332756 | 2025-01-30 23:11:02 z | IBM JOB - FCSPRD FCS - NA_CHC_PTD_GMI_P01 | 2025-01-30 23:23:21 CST - FIS xMatters Incident (Work notes) Archana Acharya : Taken care of 2025-01-30 23:23:20 CST - System (Work notes) Alert thas been Terminated in xMatters by the AIOPS SNOW to xMatters Flow | Entity ID: IBM JOB - FCSPRD FCS - NA_CHC_PTD_GMI_P01 - There is an issue with this job 795757/FCSOPER/SHAREPOINT on Server FCSDR Client FCSPRD FCS Entity Display Name: IBM JOB - FCSPRD FCS - NA_CHC_PTD_GMI_P01 Hostname: FCSPRD Message Type: CRITICAL Monitoring Tool: Geneos FIS Notification Type: IBM JOB Alert Type: IBM JOB Rule: SHAREPOINT/795757.activeJobStatus Netprobe: 10.154.15.120 Component: FCSPRD Value: MSGW State Message: There is an issue with this job 795757/FCSOPER/SHAREPOINT on Server FCSDR Client FCSPRD FCS | ECC took care |
| IN25016332755 | 2025-01-30 23:11:02 z | IBM JOB - FCSPRD FCS - NA_CHC_PTD_GMI_P01 | 2025-01-30 23:23:13 CST - FIS xMatters Incident (Work notes) Archana Acharya : Taken care of 2025-01-30 23:23:13 CST - System (Work notes) Alert thas been Terminated in xMatters by the AIOPS SNOW to xMatters Flow | Entity ID: IBM JOB - FCSPRD FCS - NA_CHC_PTD_GMI_P01 - There is an issue with this job 795764/FCSOPER/P9CATCHALL on Server FCSDR Client FCSPRD FCS Entity Display Name: IBM JOB - FCSPRD FCS - NA_CHC_PTD_GMI_P01 Hostname: FCSPRD Message Type: CRITICAL Monitoring Tool: Geneos FIS Notification Type: IBM JOB Alert Type: IBM JOB Rule: P9CATCHALL/795764.activeJobStatus Netprobe: 10.154.15.120 Component: FCSPRD Value: MSGW State Message: There is an issue with this job 795764/FCSOPER/P9CATCHALL on Server FCSDR Client FCSPRD FCS | ECC took care |
| IN25016330781 | 2025-01-30 17:00:07 z | IBM JOB - FCSPRD FCS - NA_CHC_PTD_GMI_P01 | 2025-01-30 17:52:03 CST - FIS xMatters Incident (Work notes) Jeetendrasingh Sisodia : Taken care 2025-01-30 17:51:59 CST - System (Work notes) Alert thas been Terminated in xMatters by the AIOPS SNOW to xMatters Flow | Entity ID: IBM JOB - FCSPRD FCS - NA_CHC_PTD_GMI_P01 - There is an issue with this job 793597/FCSOPER/G4MAINC on Server FCSDR Client FCSPRD FCS Entity Display Name: IBM JOB - FCSPRD FCS - NA_CHC_PTD_GMI_P01 Hostname: FCSPRD Message Type: CRITICAL Monitoring Tool: Geneos FIS Notification Type: IBM JOB Alert Type: IBM JOB Rule: G4MAINC/793597.activeJobStatus Netprobe: 10.154.15.120 Component: FCSPRD Value: MSGW State Message: There is an issue with this job 793597/FCSOPER/G4MAINC on Server FCSDR Client FCSPRD FCS | ECC took care |
| IN25016330457 | 2025-01-30 15:43:47 z | IBM JOB - NEWSYS01 DOR - NA_CHC_PTD_GMI_P01 | 2025-01-30 16:51:05 CST - FIS xMatters Incident (Work notes) Jeetendrasingh Sisodia : taken care 2025-01-30 16:51:04 CST - System (Work notes) Alert thas been Terminated in xMatters by the AIOPS SNOW to xMatters Flow | Entity ID: IBM JOB - NEWSYS01 DOR - NA_CHC_PTD_GMI_P01 - There is an issue with this job 009812/DOROPER/GRMAINC on Server NEWSYS01 Client NEWSYS01 DOR Entity Display Name: IBM JOB - NEWSYS01 DOR - NA_CHC_PTD_GMI_P01 Hostname: NEWSYS01 Message Type: CRITICAL Monitoring Tool: Geneos FIS Notification Type: IBM JOB Alert Type: IBM JOB Rule: GRMAINC/009812.activeJobStatus Netprobe: 10.154.15.120 Component: NEWSYS01 Value: MSGW State Message: There is an issue with this job 009812/DOROPER/GRMAINC on Server NEWSYS01 Client NEWSYS01 DOR | ECC took care |
| IN25016329819 | 2025-01-30 14:01:54 z | IBM JOB - NEWSYS01 NOM - NA_CHC_PTD_GMI_P01 | 2025-01-30 15:02:48 CST - FIS xMatters Incident (Work notes) Jeetendrasingh Sisodia : taken care 2025-01-30 15:02:46 CST - System (Work notes) Alert thas been Terminated in xMatters by the AIOPS SNOW to xMatters Flow | Entity ID: IBM JOB - NEWSYS01 NOM - NA_CHC_PTD_GMI_P01 - There is an issue with this job 989318/NOMOPER/Q7_SGX on Server NEWSYS01 Client NEWSYS01 NOM Entity Display Name: IBM JOB - NEWSYS01 NOM - NA_CHC_PTD_GMI_P01 Hostname: NEWSYS01 Message Type: CRITICAL Monitoring Tool: Geneos FIS Notification Type: IBM JOB Alert Type: IBM JOB Rule: Q7_SGX/989318.activeJobStatus Netprobe: 10.154.15.120 Component: NEWSYS01 Value: MSGW State Message: There is an issue with this job 989318/NOMOPER/Q7_SGX on Server NEWSYS01 Client NEWSYS01 NOM | ECC took care |
Solved! Go to Solution.
First, you need to extract the date part from the "Incident Start" column. You can create a new column in Power BI using DAX to extract the date:
Incident Date = DATE(YEAR([Incident Start]), MONTH([Incident Start]), DAY([Incident Start]))
After creating the "Incident Date" column, you can sort your data by this column and then by the "Incident Start" time. Here’s how you can do it:
In the Power Query Editor, select the "Incident Date" column.
Click on the "Sort Ascending" or "Sort Descending" button to sort the data by the date.
Next, select the "Incident Start" column.
Click on the "Sort Ascending" or "Sort Descending" button to sort the data by the time within each day.
Proud to be a Super User! |
|
Hi @Manasi25 ,
I couldn't agree more with bhanu_gautam, but I have some more personal thoughts.
Firstly the Data type needs to be changed to Date/time.
You can sort the Incident Start column in Table view.
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Add a New Column Based on Specific Text in "Work notes":
Action Taken by =
IF(
CONTAINSSTRING([Work notes], "took"),
"ECC took care",
IF(
CONTAINSSTRING([Work notes], "escalated"),
"Taken care by CX",
BLANK()
)
To sort the data by the dates mentioned in the "Work notes" column, you need to extract the date from the text and then sort the data based on this extracted date.
You can create a new column to extract the date from the "Work notes" column using DAX. Assuming the date format in the "Work notes" is consistent, you can use the following DAX formula:
Extracted Date =
DATE(
MID([Work notes], 1, 4),
MID([Work notes], 6, 2),
MID([Work notes], 9, 2)
)
After creating the "Extracted Date" column, you can sort your data by this column.
To handle duplicate entries, you can use Power BI's data transformation capabilities in Power Query Editor. You can group by the "Incident Start" or any other relevant column and then sort within each group by the "Extracted Date".
Go to Power Query Editor.
Select the column you want to group by (e.g., "Incident Start").
Use the "Group By" feature to group the data.
Within each group, sort the data by the "Extracted Date" column.
Proud to be a Super User! |
|
Thank you for quick reply.
I got first solutions.Thanks !
But for second query, i want to sort the data by the dates (each day) by "Incident Start" only 🙂
Hi @Manasi25 ,
I couldn't agree more with bhanu_gautam, but I have some more personal thoughts.
Firstly the Data type needs to be changed to Date/time.
You can sort the Incident Start column in Table view.
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
First, you need to extract the date part from the "Incident Start" column. You can create a new column in Power BI using DAX to extract the date:
Incident Date = DATE(YEAR([Incident Start]), MONTH([Incident Start]), DAY([Incident Start]))
After creating the "Incident Date" column, you can sort your data by this column and then by the "Incident Start" time. Here’s how you can do it:
In the Power Query Editor, select the "Incident Date" column.
Click on the "Sort Ascending" or "Sort Descending" button to sort the data by the date.
Next, select the "Incident Start" column.
Click on the "Sort Ascending" or "Sort Descending" button to sort the data by the time within each day.
Proud to be a Super User! |
|
Hello All
Sorry to reply late here.
The query is - I have 5 alerts in a day, which should be consider as 1, this alert is reporting daily and i want to count only 1 instead of 5 per day.
As per below on date 02/01/2025 I want alert of"A" considered as only 1 and remove duplicates from same col. Same on date 02/02/2025 alert of "A" should be considered count only 1 and remove duplicates. How can this be done ?
| Number | Alert | Date |
| 1 | A | 02/01/2025 |
| 2 | A | 02/01/2025 |
| 3 | A | 02/01/2025 |
| 4 | A | 02/01/2025 |
| 5 | B | 02/01/2025 |
| 6 | B | 02/01/2025 |
| 8 | B | 02/01/2025 |
| 9 | A | 02/02/2025 |
| 10 | A | 02/02/2025 |
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |