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.
hi there ;
i need your supoort about below formula ;
i have tableA which include below vendor volumn
İ would like to create a new column and it must list like that ;
IF vendor includes " ABC" write this cell " Important" , If vendor includes "DEF" write this cell " Not Important" ; If none of them cell will be empty
thanks in advance for your kind supports
Solved! Go to Solution.
Create a new column like
Switch( true(),
search( "ABC" ,[column],,0)>0,"Important",
search( "DEF" ,[column],,0)>0,"Not Important",
"Not Important"
)
Or a if like this
if(search( "ABC" ,[column],,0)>0,"Important",if(search( "DEF" ,[column],,0)>0,"Not Important",blank()))
You can also use containsstring
https://docs.microsoft.com/en-us/dax/containsstring-function-dax
Create a new column like
Switch( true(),
search( "ABC" ,[column],,0)>0,"Important",
search( "DEF" ,[column],,0)>0,"Not Important",
"Not Important"
)
Or a if like this
if(search( "ABC" ,[column],,0)>0,"Important",if(search( "DEF" ,[column],,0)>0,"Not Important",blank()))
You can also use containsstring
https://docs.microsoft.com/en-us/dax/containsstring-function-dax
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 |
---|---|
109 | |
96 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
88 | |
63 |