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.
Hello,
How can I use DAX to look through ALL the DOCNUMBR column, and ONLY IF it contains the Letters "SLS" return the full SLS document number only in the column?
This is what I am trying to do:
DOCNUMBR | DOCDATE | Returned |
32134 | 11/17/2009 0:00 | |
SLS008123 | 3/31/2009 0:00 | SLS008123 |
SLS016930 | 12/18/2012 0:00 | SLS016930 |
36614 | 9/7/2010 0:00 | |
36676 | 10/7/2010 0:00 | |
SLS011542 | 9/7/2010 0:00 | SLS011542 |
69061 | 5/4/2016 0:00 | |
SLS 024166 | 4/14/2016 0:00 | SLS 024166 |
Solved! Go to Solution.
Returned = IF( NOT( ISERROR( FIND( "SLS", TableName[DOCNUMBR] ) ) ), TableName[DOCNUMBR], BLANK() )
Man, I can't believe I got to use the NOT(ISERROR(FIND())) trick twice in one day!
Proud to be a Super User!
Returned = IF( NOT( ISERROR( FIND( "SLS", TableName[DOCNUMBR] ) ) ), TableName[DOCNUMBR], BLANK() )
Man, I can't believe I got to use the NOT(ISERROR(FIND())) trick twice in one day!
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 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |