The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Commnity..!!
Please refer below images,
I have this above data , i have more than 100 rows of data, i have added only few rows in the above pic.
Here is my requirement,
I want to create a new column which groups facebook related fields in single row and remaining in single row,
Ex :
I want to create new column as Name2
Could anyone please help me out to get the required output.
Thanks in advance..!!
Solved! Go to Solution.
A calculated column with the following code might work for you...
Name2 =
IF(
CONTAINSSTRING([Name1], "Facebook"),
"Facebook",
[Name1]
)
If you end up needing to group more rows then you may need to explore using a SWITCH() statement.
Proud to be a Super User! | |
A calculated column with the following code might work for you...
Name2 =
IF(
CONTAINSSTRING([Name1], "Facebook"),
"Facebook",
[Name1]
)
If you end up needing to group more rows then you may need to explore using a SWITCH() statement.
Proud to be a Super User! | |
User | Count |
---|---|
78 | |
74 | |
43 | |
32 | |
28 |
User | Count |
---|---|
104 | |
93 | |
51 | |
51 | |
46 |