Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Dear Team
Need your help again
Logics table below
Thanks, really appreciates any help
Syaiful Efendi
Solved! Go to Solution.
Hi @Anonymous ,
Try this
column =
IF (
CONTAINSSTRING ( Table[Column], "kg" )
|| CONTAINSSTRING ( Table[Column], "bags" )
|| CONTAINSSTRING ( Table[Column], "kgs" )
|| CONTAINSSTRING ( Table[Column], "pallet" )
|| CONTAINSSTRING ( Table[Column], "packages" )
|| CONTAINSSTRING ( Table[Column], "case" )
|| CONTAINSSTRING ( Table[Column], "cbm" ),
1,
0
)
Note: CONTAINSSTRING is not case-sensitive.
Proud to be a Super User!
Hi @Anonymous ,
Try this
column =
IF (
CONTAINSSTRING ( Table[Column], "kg" )
|| CONTAINSSTRING ( Table[Column], "bags" )
|| CONTAINSSTRING ( Table[Column], "kgs" )
|| CONTAINSSTRING ( Table[Column], "pallet" )
|| CONTAINSSTRING ( Table[Column], "packages" )
|| CONTAINSSTRING ( Table[Column], "case" )
|| CONTAINSSTRING ( Table[Column], "cbm" ),
1,
0
)
Note: CONTAINSSTRING is not case-sensitive.
Proud to be a Super User!
@Anonymous ,
You can also follow @danextian approach. Or try below approach to get your result.
You can also try below approach:
Column =
Thanks for ur help
@Anonymous , seems like a solution from @danextian has worked for you. Can you please mark the solution
Hi @Anonymous ,
If this solves your problem, please accept the post as solution.
Proud to be a Super User!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
95 | |
77 | |
68 | |
54 |
User | Count |
---|---|
144 | |
105 | |
102 | |
89 | |
63 |