DAX Fridays!

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024

Комментарии • 77

  • @McRyach
    @McRyach 3 года назад +5

    Perfect, thank you very much. I didn't have a question which language to learn. But I had a question When to use *M* and when to use *DAX.* This video answers it perfectly.
    *Use M to clean your data*
    *Use DAX to ask questions*

  • @zzzzzzzzzzzzzzzz9
    @zzzzzzzzzzzzzzzz9 3 года назад +1

    PQ first is a great tip. I think of it like this.
    PQ is like a car's starting engine, without the start, the car won't run. If the wires are disjointed, your car won't work properly

  • @timewithsopy
    @timewithsopy Год назад

    I agree with your reasons and concept but I'm a little confused because of other tutorials telling me that PQ will impact performance. Thoughts?

  • @joseagundis1
    @joseagundis1 5 лет назад +3

    Me gustó mucho tu explicación y creo que el proceso de aprendizaje es Power Query-Dax-Lenguaje M y lo hacemos intuitivo sin pensarlo al menos eso estoy experimentando; asi tambien lo experimente con Excel-VBA. Concluyendo que no puedes usar Dax sin que tus datos hayan pasado por una limpieza y no puedes usar lenguaje M sin antes saber Dax y Query; tal como cuando no pude escribir una macro sin entender Excel. Esto pienso yo. Saludos.

    • @CurbalEN
      @CurbalEN  5 лет назад +2

      Exactamente! Un pequeño comentario: se puede aprender M sin saber nada de DAX pero si vas a hacer informes en power bi, es necesario aprender lo básico de DAX antes de meterte con M.
      Saludos!
      /Ruth

  • @hcedenop
    @hcedenop 4 года назад +1

    Ruth, thank you, this is so effective and thoughtful advise you gave! , Power Query 1st...

  • @zbatevp-vlogs610
    @zbatevp-vlogs610 5 лет назад +5

    I would totally agree, when i was a total beginner i was first attracted to DAX and didn't see much importance on Power Query. But as I go along the importance switched personally i think the cleaner the data (Power Query) the easier it is to used DAX. My two cents as well.

    • @CurbalEN
      @CurbalEN  5 лет назад +1

      Exactly! I couldn’t have said it better! The cleaner the data and the better the model (relationships and tables), the easier DAX gets, well said!
      Thanks for sharing your experiences:)
      /Ruth

    • @pmsocho
      @pmsocho 5 лет назад +1

      Great words: "the cleaner the data (Power Query) the easier it is to used DAX"

    • @CurbalEN
      @CurbalEN  5 лет назад +3

      We should put that in a pop up message when you open power query!! That would be something!
      /Ruth

    • @pmsocho
      @pmsocho 5 лет назад

      Yes, that would be great :)

    • @miltondiaz2531
      @miltondiaz2531 5 лет назад

      me gusta ese mensaje: "cuanto más limpios son los datos (power query), más facil es utilizar DAX". Ustedes son unos capos como decimos en Perú. un abrazo

  • @nachomiranda5151
    @nachomiranda5151 5 лет назад +1

    You are absolutely right. I am suffering the maintenance of my first PBI reports built with almost DAX only, creating calculating columns and even tables by copying columns from other tables .... 😰. They make me feel very sad about myself ....
    Now, after some time devoted to learn PowerQuery, things are easier and have much more sense.
    I’m not sure if I will do the next step and come into M. So far, I have only needed a few simple functions. We’ll see
    I’m really looking forward your Monday video about PBI data flows.
    Thanks

    • @CurbalEN
      @CurbalEN  5 лет назад

      I feel your pain!! I started with Power query early, but that didn’t save me from the calculated columns nightmare 😂😂
      Hey! Look at it this way, you need to crawl before you can walk right?
      Happy Friday and thanks for sharing your story!
      /Ruth

  • @HachiAdachi
    @HachiAdachi 5 лет назад +2

    Thank you for your insight, Ruth. Is there a performance difference between M and DAX? I often feel that Power Query is slower in an equivalent task when comparing to DAX, so I have been trying to do as much as possible in DAX (within my limited DAX skills). My sentiment on the performance is purely based on my unscientific anecdotal personal samples, so I would love to hear your take on that.

    • @CurbalEN
      @CurbalEN  5 лет назад +4

      Depending on your data and how the queries are created, Power query can be slow, and if that happens, there are techniques you can apply to make it faster. The same applies to DAX.
      I should do a series on M performance or expand the M course to bring some light to this.
      Great question by the way!
      /Ruth

    • @daniel.balandra
      @daniel.balandra 5 лет назад

      @@CurbalEN Hi Ruth, i have this question too! For example there are some dimtables that in some models i did it first with power query, in others i did it with dax as calctables. So i wonder in terms of refreshing performance, what would be better, do calculated columns and tables with power query or do it with dax? What do you think?

    • @CurbalEN
      @CurbalEN  5 лет назад

      Performance on a model depends on many factors, so it is not possible to say one or the other without having a case in mind, but best practice is; power query for shaping and preparing the data and tables and DAX for asking questions to your data.
      /Ruth

  • @tubez29
    @tubez29 3 года назад

    The other day I created a bunch of measures only to find you that Visuals and Measures don't get along. Totals were wrong and calculations were complexed. I ended up removing DAX queries and move them back to MQuery. I only left the DAX formulas that interacted with the visuals. Thank you.

    • @CurbalEN
      @CurbalEN  3 года назад

      That should not be the case, but glad you got it sorted!

  • @jasonwoodward5501
    @jasonwoodward5501 5 лет назад

    Thanks Ruth.
    As I have some SQL and basic SSIS skills, is it worth learning Power Query\ M language or should I focus my efforts on just Power BI and Dax?

    • @CurbalEN
      @CurbalEN  5 лет назад

      I would say Power Query, then DAX and later if you need it, M in that order.
      Hope it helps!
      /Ruth

  • @aytugokumus7537
    @aytugokumus7537 2 года назад

    Hi Ruth
    Thanks for nice video. Really helpful.
    I have a question & problem. Would be great if you can explain how to do that..
    Question ;
    I have an excel table for projects, about 100.000 rows, with 10 columns that specifies the project specs. Question is ; In Power BI, i will choose one project from table then i would like to find most similar projects from main excel table according to similarity based on column data (each column will have weighted similarity factor & column context can be number & text).
    And then i will filter & list them based on more similar project to less similar project by similarity score.
    ?

  • @zuhairalmutawa9941
    @zuhairalmutawa9941 Год назад

    thank you very mcuh for your advice.

  • @zhaoyong6715
    @zhaoyong6715 5 лет назад +1

    i totally agree. PowerQuery then DAX.
    I guess i'm lucky to pick up M is for Data Monkey first before moving toward DAX. These days I'm seeing a lot of people in my area of work using DAX to create the table (Which make the visual in PowerBI extremely slow) whereby PQ would do the trick.

    • @CurbalEN
      @CurbalEN  5 лет назад +1

      I see it also all the time! Wish I could spread this message to every power bi user so they don’t have to go through that!
      Thanks for sharing your story :)
      /Ruth

  • @mehdihammadi6145
    @mehdihammadi6145 5 лет назад

    I totaly agree with you Ruth, in all project you will have at least to Extract Data but not necessary create measures and the general advice from PBI experts is, if you can do it with Power Query rather than DAX, then do it in Power Query

    • @CurbalEN
      @CurbalEN  5 лет назад +1

      Thanks for sharing your experience!
      I think calculations should be done in DAX as vertipaq will manage those better, but when you are a beginner...everything is allowed until the model bites you back!
      Happy Friday!
      /Ruth

    • @DIGITAL_COOKING
      @DIGITAL_COOKING 5 лет назад +1

      yes sir !!!; 100% right :)

    • @CurbalEN
      @CurbalEN  5 лет назад

      Yeah!

  • @pmsocho
    @pmsocho 5 лет назад +1

    Thanks for the video! Thumbs up!

    • @CurbalEN
      @CurbalEN  5 лет назад

      Thanks! Glad it was useful :)
      /Ruth

  • @ChequeWriter
    @ChequeWriter Год назад

    VBA will always reign as king in my hear!

  • @abdulrazakabdulkarim7698
    @abdulrazakabdulkarim7698 2 года назад

    Thank you xxx

  • @tesselma
    @tesselma 5 лет назад

    Great explanation Ruth. Thanks

    • @CurbalEN
      @CurbalEN  5 лет назад +1

      You welcome! I hope this aids you in avoiding my mistakes !
      /Ruth

  • @xela010894
    @xela010894 5 лет назад +1

    How to reduce the use of calculated columns?. When me need to calculate a measure we apply dax or in the data source.

    • @CurbalEN
      @CurbalEN  5 лет назад +1

      Hi Alex,
      Do data transformations in power query and mathematical calculations in Dax as measures as much as you can.
      /Ruth

  • @joepepper1869
    @joepepper1869 5 лет назад

    Ruthhhhhhhh!!!!
    Definitivamente muy ilustrativo tu video respodiste al 100% el flujo mas adecuado para utilizar M, Dax y power bi. Mi mundo es y a sido excel definitivamente hay que moverse a uso de herramientas mas eficientes.
    Tengo un imteres muy grande en seguir tus recomendaciones. He empezado con power bi a traves del excel pero me resulta un poco confuso ya que quiero verlo como excel, es como saber ingles y vas a aprender frances y en este proceso nuestro switch sigue activando el ingles....
    Saludos desde la ciudad de Monterrey en este pais maravilloso llamado Mexico.
    Por cierto, tambien te deseo un maravilloso fin de semana.

    • @CurbalEN
      @CurbalEN  5 лет назад

      Gracias Joeeee ;)
      Te entiendo, yo empecé también de Excel y pretendí hacerlo todo como lo hacía en Excel, pero poco a poco me di cuenta que no, no se puede...
      Es un proceso, caminar antes de correr... no te preocupes, con perseverancia lo vas a conseguir!!
      Buen fin de semana!!
      /Ruth

  • @yaminkerkoub7829
    @yaminkerkoub7829 5 лет назад

    I clean my data with SQL first, then M if it is necessary then enjoy with Dax measures.

    • @CurbalEN
      @CurbalEN  5 лет назад

      Yes! That is even better! Perfect if your can clean the data at the source :)
      Thanks for sharing!
      /Ruth

  • @rajkumarbharathi3139
    @rajkumarbharathi3139 2 года назад

    Ranking in bad in power query. if you could rank by groups in Power query, it will be too good

  • @pratikfutane8131
    @pratikfutane8131 5 лет назад

    Thanks for the Path 🙂

    • @CurbalEN
      @CurbalEN  5 лет назад +1

      It worked for me, hopefully for you too!
      /Ruth

  • @christopherhastings2142
    @christopherhastings2142 5 лет назад

    Very good explanation!

    • @CurbalEN
      @CurbalEN  5 лет назад

      Thanks! How was your journey? Did you started with Power Query or DAX?
      /Ruth

    • @christopherhastings2142
      @christopherhastings2142 5 лет назад

      @@CurbalEN I started with Power Query, and data cleaning.

    • @CurbalEN
      @CurbalEN  5 лет назад

      Oh! Great ! You did it the right way!
      Thanks for sharing :)
      /Ruth

  • @dasrotrad
    @dasrotrad 5 лет назад

    Great advice Ruth! AND a beautiful explanation. I must admit, it was so rewarding to start with Power BI and DAX, but it brought enormous frustration. I had studied context and thought my formulas were spot on. But, they didn't work. It was confusing. I was confused about context. Why isnt this working?? My data model was wrong. These pieces all have to fit. As I grapple with all of these pieces, I became aware that power query is needed to not only clean the data, but restructure the tables to prepare them for data modeling. Yes, it's great to jump in and see your DAX results in the great visuals that are available in Power BI. Sometimes they work and sometimes they don't. You can't skip the basics. You have to work with clean data and you have to have the data model correct. ...then, DAX is ready for you! I think I am starting to see the forest. Thank you Ruth and thank you to all the other MVPs who, like you, put so much effort into guiding through this amazing set of tools MSFT has created. It is an exciting learning adventure.

    • @CurbalEN
      @CurbalEN  5 лет назад +1

      Thanks for sharing your story! Success stories helps beginners keep fighting, you guys are awesome!
      I agree 100 % with you: first power query, then modeling and then DAx, in that order.
      Have a great Sunday!
      /Ruth

    • @dasrotrad
      @dasrotrad 5 лет назад

      @@CurbalEN I have signed up for your M course! I so excited!

    • @CurbalEN
      @CurbalEN  5 лет назад +1

      Cool!! Let me know what you think when you finish it!
      /Ruth

    • @dasrotrad
      @dasrotrad 5 лет назад

      I don't know if you address this in you M Course, but in thinking how to prepare the data model, I see the need to flatten the 1:1 relationships and eliminate the snowflake schema. Do you address strategies to re-design many-to-many relationships into 1:Many relationships?

    • @dasrotrad
      @dasrotrad 5 лет назад

      @@CurbalEN Wilco!

  • @owensoft
    @owensoft 5 лет назад

    I totally agree

  • @thesatwikshenoy
    @thesatwikshenoy 5 лет назад

    Thanks for the tips. On my way to begin M Language :)

    • @CurbalEN
      @CurbalEN  5 лет назад

      M is a lot of fun! You are going to enjoy it :)
      /Ruth

    • @thesatwikshenoy
      @thesatwikshenoy 5 лет назад

      Yes I hope so too :) I wanted to ask you this since a while - is there any chance if you'll explore other Reporting tools in parallel? Like the Google Data Studio. It's new and almost no material online. Would be great if you considered making some videos in the future :)
      Or maybe consider implementing python or R visuals in Power BI. I see so many possibilities still not explored well. Just my 2 paise as they say in India :)
      All the best! Big fan!

    • @CurbalEN
      @CurbalEN  5 лет назад

      Yes, I am thinking about it as I have been asked before.
      This year is too tight to do such thing, but next year I might give it a go!
      What I can do, is do a test video this year, how about that!
      Thanks for watching!!
      /Ruth

    • @thesatwikshenoy
      @thesatwikshenoy 5 лет назад

      Would do :) thank much Ruth. Cheers!

  • @krishnaram789
    @krishnaram789 5 лет назад

    Hi Ruth
    If u can possibly plz share ssas tabular Cub vedios , because power bi using tabular cubes .
    Thanks advance

    • @CurbalEN
      @CurbalEN  5 лет назад

      The guys at pragmatic works have a playlist , have you seen it?
      m.ruclips.net/p/PLcwrIWK7WBcTjHS4_BC6w7e2dnpEgfOaI
      /Ruth

    • @krishnaram789
      @krishnaram789 5 лет назад

      @@CurbalEN yes but if u provide topic Wisely and senarios it will use for me. Thanks

    • @CurbalEN
      @CurbalEN  5 лет назад

      Thanks but SSAS is outside my area. Have you seen this :
      www.sqlbi.com/p/ssas-tabular-video-course/
      /Ruth

    • @CurbalEN
      @CurbalEN  5 лет назад

      Check this source out also :
      www.sqlauthority.com
      /Ruth

  • @DIGITAL_COOKING
    @DIGITAL_COOKING 5 лет назад

    I hope you did it before :), nevertheless your DAX Friday is great!!!

    • @CurbalEN
      @CurbalEN  5 лет назад

      Did what before? Calculated columns?
      And thanks!
      /Ruth

    • @DIGITAL_COOKING
      @DIGITAL_COOKING 5 лет назад

      @@CurbalENno this video(i meanDAX Fridays! #106: Power Query or DAX?); because I started with DAX after I realized
      that I need more power query than DAX because i work a lot with EXCEL (but like you said
      1power query
      2DAX
      and finally M language
      so no mistake now :)

    • @CurbalEN
      @CurbalEN  5 лет назад

      That was my journey too... but hey! Making mistakes is learning also!
      /Ruth

    • @DIGITAL_COOKING
      @DIGITAL_COOKING 5 лет назад

      @@CurbalEN yes indeed, and with a professional you save time :)