DAX Fridays! #30: SEARCH vs FIND

Sdílet
Vložit
  • čas přidán 3. 07. 2024
  • In today's DAX Fridays! tutorial we are going to go though examples on how to use two DAX functions: SEARCH and FIND
    SEARCH and FIND DAX functions are used to find the number of characters at which a specific word is found in a column.
    Link to Power BI file used in the video: curbal.com/blog/glossary/sear...
    curbal.com/blog/glossary/find...
    EXCEL SURVEY: 1drv.ms/xs/s!Ar8CDNp8cGTcgjaH...
    PREVIOUS VIDEO - HASONEVALUE: • DAX Fridays! #29: HASO...
    NEXT VIDEO: • DAX Fridays! #31: Roun...
    00:58 SEARCH function DAX Microsoft Documentation
    02:20 DAX search function without options
    04:00 DAX search function with options
    04:43 DAX search function Error validation options
    05:49 DAX search function with * wildcard
    07:00 DAX search function with ? wildcard
    08:52 Search and Switch functions
    10:35 Find function DAX Microsoft Documentation
    10:57 Find function explained
    11:32 Find vs Search function
    Looking for a download file? Go to our Download Center: curbal.com/donwload-center
    SUBSCRIBE to learn more about Power and Excel BI!
    / @curbalen
    Our PLAYLISTS:
    - Join our DAX Fridays! Series: goo.gl/FtUWUX
    - Power BI dashboards for beginners: goo.gl/9YzyDP
    - Power BI Tips & Tricks: goo.gl/H6kUbP
    - Power Bi and Google Analytics: goo.gl/ZNsY8l
    ABOUT CURBAL:
    Website: www.curbal.com
    Contact us: www.curbal.com/contact
    QUESTIONS? COMMENTS? SUGGESTIONS? You’ll find me here:
    ► Twitter: @curbalen, @ruthpozuelo
    ► Google +: goo.gl/rvIBDP
    ► Facebook: goo.gl/bME2sB
    #daxfridays #curbal #SUBSCRIBE
    ► Linkedin: goo.gl/3VW6Ky

Komentáře • 54

  • @williamarthur4801
    @williamarthur4801 Před 9 měsíci

    Thank you once again, for solving a problem in pointing out the Not found option not really being optional.

  • @tomtao6098
    @tomtao6098 Před 7 lety +1

    I have used "Text.contains" in M for meeting similar goals. I am glad I have learnt another way. Thanks Curbal!

    • @CurbalEN
      @CurbalEN  Před 7 lety

      +Tom Tao Hi Tom, that's correct! Search can be useful to create conditional DAX measures.
      Glad you liked it ;)
      /Ruth

  • @walidkhlil2872
    @walidkhlil2872 Před 4 lety

    Again, and again. Thank you And we appreciate your effort.

    • @CurbalEN
      @CurbalEN  Před 4 lety

      And thanks for all your support!

  • @NorbertoVeraReatigaNVR
    @NorbertoVeraReatigaNVR Před 7 lety +1

    Muy buena exposición del uso de estas dos funciones, lo pondré en practica inmediatamente en mis tableros!, Ruth como siempre muy agradecido por su aporte a nuestro conocimiento!!!

    • @CurbalEN
      @CurbalEN  Před 7 lety

      +Norberto Vera Reatiga Muchas gracias Norberto, todo un placer :)
      /Ruth

  • @UlyssesHaq
    @UlyssesHaq Před 4 lety

    Amaaaaaaazing, love it!! Thank you for improving our computer geek lives hehe. X gracies!

  • @rajkumarioruganti5364
    @rajkumarioruganti5364 Před 4 lety

    Super explanation, It was of great help.

  • @murthysydney4372
    @murthysydney4372 Před 7 lety +1

    A great learning curve , Hope to see more videos, & How to look up a string in DAX. using related or related table.

    • @CurbalEN
      @CurbalEN  Před 7 lety

      +Murthy Sydney Great idea Murthy, it is in my to do list now ;)
      /Ruth

  • @bradj229
    @bradj229 Před 2 lety

    Thanks Ruth!

  • @chescov
    @chescov Před 5 lety +1

    Amazing Ruth! :)

  • @martinmejia197
    @martinmejia197 Před 6 lety +1

    Thanks, Ruth! Great video, as always! Can the text to be searched (the first parameter) be a different texts contained in a column in another table? For instance, if you have another table with a column with 2 rows, each one of them containing the texts "semilt and curbal", can you reference that table[column] to be searched into the Source column of the table you are showing? Thanks!

  • @laurastreckert7502
    @laurastreckert7502 Před 2 lety

    thank you, Thank You, THANK YOU!!!!

  • @kunjal96
    @kunjal96 Před 2 lety

    Wonderful!!!!!!!!

  • @dhess5312
    @dhess5312 Před 5 lety +1

    Awesome for someone who is just learning. Thank you.

    • @CurbalEN
      @CurbalEN  Před 5 lety

      Perfect! Thanks for the feedback !
      /Ruth

  • @SmartBimson
    @SmartBimson Před 7 lety +1

    Hey Ruth, again a very interesting video and I now have my weekend :-)))) thanks for the video and have a great weekend 👍🏻👍🏻👍🏻🎉☀☀☀

    • @CurbalEN
      @CurbalEN  Před 7 lety +1

      +SmartBimson Same to you Andy! Did you visit Sweden?
      /Ruth

    • @SmartBimson
      @SmartBimson Před 7 lety

      Curbal yes I did, was great esp the people are very kind and smart ! And it was snowing ... a lot .

    • @CurbalEN
      @CurbalEN  Před 7 lety +1

      +SmartBimson Oh, in Stockholm?
      /Ruth

    • @SmartBimson
      @SmartBimson Před 7 lety

      Curbal yes .. close to ;-) Last weeks Tuesday. And that's why there was no time for a coffee :-( due to snow I took a taxi 1,5 hours earlier to the airport (Accidents and so on)

    • @CurbalEN
      @CurbalEN  Před 7 lety +1

      +SmartBimson No worries, next time. Have a nice weekend :)
      /Ruth

  • @gagansingh3481
    @gagansingh3481 Před 2 lety

    Mam your videos are so informative ....I just wanna see how all & filter function works when writing Dax on them please make one video giving example on Excel sheet ...

  • @thegodisland2179
    @thegodisland2179 Před 6 lety +2

    Love Your Accent :)

    • @CurbalEN
      @CurbalEN  Před 6 lety +1

      Thanks :)
      Swespanglish 😂
      /Ruth

  • @stevennye5075
    @stevennye5075 Před 5 lety

    excellent

    • @CurbalEN
      @CurbalEN  Před 5 lety

      Are you watching them all?
      /Ruth

  • @Babayagaom
    @Babayagaom Před 4 lety

    i want to split name column based on space delimiter without using power query , can you please help?

  • @davida.taylor8444
    @davida.taylor8444 Před 5 lety

    This is good, thank you! What if you wanted to search for text containing either "semalt" or "curbal"?

    • @CurbalEN
      @CurbalEN  Před 5 lety

      If or switch should help depending on what you are trying to do. Post in the power bi community for more detail help, thanks!
      /Ruth

  • @SyedUsman
    @SyedUsman Před 7 lety +1

    awsum videos ruth , can u do step by step power query?

    • @CurbalEN
      @CurbalEN  Před 7 lety

      +Syed Ahmed Hi Syed,
      Sure, I will put on my list. Anything in particular you want to see?
      /Ruth

  • @tnsparks
    @tnsparks Před 2 lety

    What if you do not want to just search for a wildcard but also replace a found wildcard with another string. For example: I want to find anything with "tam" (so finds tami, tammie,tammy, etc) and I want to replace it with "Tamifay Smith". Is that possible?

  • @mshparber
    @mshparber Před 7 lety +1

    Nice! What software do you use to record your screen with your voice? Thanks

    • @CurbalEN
      @CurbalEN  Před 7 lety +1

      +Michael Shparber Hi Michael, I use Camtasia. Really easy to use :)
      /Ruth

    • @mshparber
      @mshparber Před 7 lety +1

      Thanks!

    • @CurbalEN
      @CurbalEN  Před 7 lety

      +Michael Shparber My pleasure :)
      /Ruth

  • @Victor-ol1lo
    @Victor-ol1lo Před 7 lety +1

    Great video Ruth !! I tried both function in PP but the result was not sufficient. If I use only one character within SEARCH or FIND it works, as soon as I add more characters I receive an error. I also tried to solve it via PQ with Text.contanins - same result. Do you have a hint how to solve the problem? Your feedback is highly appreciated.

    • @CurbalEN
      @CurbalEN  Před 7 lety

      +Victor Friesen Hi Victor, can you explain in more detail what is the problem you are trying to solve?
      /Ruth

    • @Victor-ol1lo
      @Victor-ol1lo Před 7 lety +1

      I just checked Excel 2016 & PowerBi - > it works perfectly. It seems to be a problem with my Excel 2010 version. Thanks and best regards.

    • @CurbalEN
      @CurbalEN  Před 7 lety

      +Victor Friesen ah, ok good to know!
      /Ruth

  • @joefromdc
    @joefromdc Před 4 lety

    Question
    What if I needed the first two numbers to start with “27” and then only show where there are four numbers after ( 27....). Total 6 numbers. How would I used the wildcard

    • @CurbalEN
      @CurbalEN  Před 4 lety

      Could you please ask in the power bi community? Thanks!
      /Ruth

    • @joefromdc
      @joefromdc Před 4 lety

      Curbal
      Thanks for ur reply, can you provide a link pls

    • @CurbalEN
      @CurbalEN  Před 4 lety

      Sure: community.powerbi.com
      /Ruth

    • @joefromdc
      @joefromdc Před 4 lety

      Curbal
      Posted my question, appreciate any help