DAX Fridays!

Поділитися
Вставка
  • Опубліковано 28 лис 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

  • @zbatevp-vlogs610
    @zbatevp-vlogs610 6 років тому +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  6 років тому +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 6 років тому +1

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

    • @CurbalEN
      @CurbalEN  6 років тому +3

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

    • @pmsocho
      @pmsocho 6 років тому

      Yes, that would be great :)

    • @miltondiaz2531
      @miltondiaz2531 6 років тому

      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

  • @joseagundis1
    @joseagundis1 6 років тому +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  6 років тому +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

  • @nachomiranda5151
    @nachomiranda5151 6 років тому +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  6 років тому

      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

  • @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?

  • @HachiAdachi
    @HachiAdachi 6 років тому +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  6 років тому +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

  • @zhaoyong6715
    @zhaoyong6715 6 років тому +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  6 років тому +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 6 років тому

    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  6 років тому +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 6 років тому +1

      yes sir !!!; 100% right :)

    • @CurbalEN
      @CurbalEN  6 років тому

      Yeah!

  • @ChequeWriter
    @ChequeWriter Рік тому

    VBA will always reign as king in my hear!

  • @hcedenop
    @hcedenop 4 роки тому +1

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

  • @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!

  • @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.
    ?

  • @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

  • @pmsocho
    @pmsocho 6 років тому +1

    Thanks for the video! Thumbs up!

    • @CurbalEN
      @CurbalEN  6 років тому

      Thanks! Glad it was useful :)
      /Ruth

  • @zuhairalmutawa9941
    @zuhairalmutawa9941 Рік тому

    thank you very mcuh for your advice.

  • @abdulrazakabdulkarim7698
    @abdulrazakabdulkarim7698 2 роки тому

    Thank you xxx

  • @jasonwoodward5501
    @jasonwoodward5501 6 років тому

    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  6 років тому

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

  • @yaminkerkoub7829
    @yaminkerkoub7829 6 років тому

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

    • @CurbalEN
      @CurbalEN  6 років тому

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

  • @joepepper1869
    @joepepper1869 6 років тому

    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  6 років тому

      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

  • @rajkumarbharathi3139
    @rajkumarbharathi3139 2 роки тому

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

  • @tesselma
    @tesselma 6 років тому

    Great explanation Ruth. Thanks

    • @CurbalEN
      @CurbalEN  6 років тому +1

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

  • @pratikfutane8131
    @pratikfutane8131 6 років тому

    Thanks for the Path 🙂

    • @CurbalEN
      @CurbalEN  6 років тому +1

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

  • @dasrotrad
    @dasrotrad 6 років тому

    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  6 років тому +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 6 років тому

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

    • @CurbalEN
      @CurbalEN  6 років тому +1

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

    • @dasrotrad
      @dasrotrad 6 років тому

      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 6 років тому

      @@CurbalEN Wilco!

  • @owensoft
    @owensoft 6 років тому

    I totally agree

  • @christopherhastings2142
    @christopherhastings2142 6 років тому

    Very good explanation!

    • @CurbalEN
      @CurbalEN  6 років тому

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

    • @christopherhastings2142
      @christopherhastings2142 6 років тому

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

    • @CurbalEN
      @CurbalEN  6 років тому

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

  • @krishnaram789
    @krishnaram789 6 років тому

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

    • @CurbalEN
      @CurbalEN  6 років тому

      The guys at pragmatic works have a playlist , have you seen it?
      m.ua-cam.com/play/PLcwrIWK7WBcTjHS4_BC6w7e2dnpEgfOaI.html
      /Ruth

    • @krishnaram789
      @krishnaram789 6 років тому

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

    • @CurbalEN
      @CurbalEN  6 років тому

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

    • @CurbalEN
      @CurbalEN  6 років тому

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

  • @thesatwikshenoy
    @thesatwikshenoy 6 років тому

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

    • @CurbalEN
      @CurbalEN  6 років тому

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

    • @thesatwikshenoy
      @thesatwikshenoy 6 років тому

      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  6 років тому

      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 6 років тому

      Would do :) thank much Ruth. Cheers!

  • @DIGITAL_COOKING
    @DIGITAL_COOKING 6 років тому

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

    • @CurbalEN
      @CurbalEN  6 років тому

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

    • @DIGITAL_COOKING
      @DIGITAL_COOKING 6 років тому

      @@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  6 років тому

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

    • @DIGITAL_COOKING
      @DIGITAL_COOKING 6 років тому

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