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 nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
I have table like below
when i try to replace value From Source field- Linkdln, it is changing social media- Linkdln also. How can i change only jobboards-linkdln name?
| Source Category | Source |
| Social Media | Linkdln |
| JOb Boards | job street |
| JOb boards | Linkdln |
How can i show below table in power query?
| Source Category | Source |
| Job Boards | Job Boards-Linkdln |
| Social Media | Linkdln |
| Job Boards | Job Street |
Solved! Go to Solution.
@mithiladas02 , A new column in power query
if [Source Category] = "Job Boards" and [Source]="Linkdln" then [Source Category] & "-" & [Source] else [Source Category]
Hi @mithiladas02 ,
Try something as follows in Power Query editor in Power BI.
This is the data:
Now under Add Column:
Then a new window appears:
Formula that I have written can be seen below in editor window:
if
([Source Category] = "JOb boards"
and [Source] = "Linkdln")
then "Job Boards-Linkdln"
else [Source]
You will get following:
Just remove the Source column:
Modify data-type of New Source to text and rename it to Source. You will get required results:
Thanks,
Pragati
Hi @mithiladas02 ,
Try something as follows in Power Query editor in Power BI.
This is the data:
Now under Add Column:
Then a new window appears:
Formula that I have written can be seen below in editor window:
if
([Source Category] = "JOb boards"
and [Source] = "Linkdln")
then "Job Boards-Linkdln"
else [Source]
You will get following:
Just remove the Source column:
Modify data-type of New Source to text and rename it to Source. You will get required results:
Thanks,
Pragati
@mithiladas02 , A new column in power query
if [Source Category] = "Job Boards" and [Source]="Linkdln" then [Source Category] & "-" & [Source] else [Source Category]
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 27 | |
| 23 | |
| 18 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 42 | |
| 41 | |
| 39 | |
| 37 |