DAX Fridays

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024
  • In today's video, we are going to go through how to think about Time Intelligence calculations with a specific case: Calculating the number of open orders using DAX.
    I read a million years ago a blog post from Gerhard where he explained how to do it and even though we are not going to use the same DAX syntax or functions , we will use his methodology:
    blog.gbrueckl....
    Here you can download all the pbix files: curbal.com/don...
    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
    ☼☼☼☼☼☼☼☼☼☼
    POWER BI COURSES:
    Want to learn Power BI? How about you take one of our courses? Here you can find the available courses:
    curbal.com/cou...
    ☼☼☼☼☼☼☼☼☼☼
    ABOUT CURBAL:
    Website: www.curbal.com
    Contact us: www.curbal.com/...
    ▼▼▼▼▼▼▼▼▼▼
    If you feel that any of the videos, downloads, blog posts that I have created have been useful to you and you want to help me keep on going, here you can do a small donation to support my work and keep the channel running:
    curbal.com/pro...
    Many thanks in advance!
    ▲▲▲▲▲▲▲▲▲▲
    ************
    ************
    QUESTIONS? COMMENTS? SUGGESTIONS? You’ll find me here:
    Linkedin ► goo.gl/3VW6Ky
    Twitter ► @curbalen, @ruthpozuelo
    Facebook ► goo.gl/bME2sB
    #CURBAL #SUBSCRIBE

ความคิดเห็น • 57

  • @bettina.e-k
    @bettina.e-k 3 ปีที่แล้ว +1

    Thank you Ruth, a perfect demonstration of "DAX is all about the filters" 😁 and using Variables for troubleshooting 😊 PLUS really useful technique!!

  • @dhanicole
    @dhanicole 3 ปีที่แล้ว +1

    Thank you Ruth! I spent a few hours figuring out the right formula in excel. Then I found this video and this worked perfectly!!! You are awesome!!!

  • @annaephgrave1345
    @annaephgrave1345 ปีที่แล้ว +1

    Thank you so much ... I have been struggling with this for ages, and your explanation has made everything just click into place 🙂

    • @CurbalEN
      @CurbalEN  ปีที่แล้ว

      Wonderful!!

  • @mat.frazer
    @mat.frazer 9 หลายเดือนก่อน

    Thank you. As soon as you started with the green dots my headache was listed and there was sense again in this world. Now to continuing watching the video.

    • @CurbalEN
      @CurbalEN  9 หลายเดือนก่อน +1

      Wait till you see the purple ones 😂

  • @himanshshakk3083
    @himanshshakk3083 4 หลายเดือนก่อน

    what a clear cut explaination dear thank you

    • @CurbalEN
      @CurbalEN  4 หลายเดือนก่อน

      😃

  • @msheaver
    @msheaver ปีที่แล้ว

    Boom! Mind blown! @5:06, the light bulb went off in my mind, and this is indeed genius!

    • @CurbalEN
      @CurbalEN  ปีที่แล้ว

      👏👏👏

  • @jarnopronk5419
    @jarnopronk5419 7 หลายเดือนก่อน +1

    Hi Ruth @curbal, thank you so much for this video. It really helps me with my report. I have one question. I think this measure only looks to the orders that actually have a shipdate. When the orders do not have a shipdate (Orders that are still open) are not in this measure. So when you want to see the open orders of last week, it probably is not as valid as the data of 2020. Can you help me with this?

  • @MrSpiritUAll
    @MrSpiritUAll 3 ปีที่แล้ว +1

    Looks so easy when you explain! 😘 Love it!

    • @CurbalEN
      @CurbalEN  3 ปีที่แล้ว +2

      He made it easy for me, I am just passing the knowledge over :)

  • @thegrilow
    @thegrilow 3 ปีที่แล้ว +1

    That’s Great Ruth! Thank you!!! 😊

  • @stuartmccloud307
    @stuartmccloud307 2 ปีที่แล้ว

    Great Video, thanks. And I never realised you could zoom the text in the formula bar till now :)

    • @CurbalEN
      @CurbalEN  2 ปีที่แล้ว

      I should do it more often ;)

  • @kennethstephani692
    @kennethstephani692 3 ปีที่แล้ว +1

    Great video, Ruth!

    • @CurbalEN
      @CurbalEN  3 ปีที่แล้ว

      Thanks, that blig post helped me tremendously when I got started!!

  • @fredbarnes196
    @fredbarnes196 9 หลายเดือนก่อน

    This is fantastic, thank you. I think I understand that the CROSSFILTER is removing the relationship to CALENDAR. If you had multiple relationships from ORDER to CALENDAR you would have to remove those as well or the MONTH field will be bucketing on the UnCROSSFILTERED relationship.
    Is that right?

  • @analynoclarit564
    @analynoclarit564 ปีที่แล้ว

    Thank you for this! Wondering how I can apply this in showing requests or orders than went beyond and within cut off for our management?

  • @yasinsen6301
    @yasinsen6301 6 หลายเดือนก่อน

    What about date/time format and categorizing by month? Trying to figure it out for 2 months without any luck.

  • @WilliamThomas2040
    @WilliamThomas2040 3 ปีที่แล้ว +1

    Very helpful! Thank you!

  • @hannafilipowska7962
    @hannafilipowska7962 ปีที่แล้ว

    very helpful video, thank you! however I would like to ask - is it possible to use this expression with inactive relationship using "USERELATIONSHIP" function? the following expression I wanted to create doesn't work:
    CLOSED =
    var MaxDate=Max('calendar'[Datetime submit])
    var MinDate=Min('calendar'[Datetime submit])
    return
    CALCULATE(
    COUNTROWS(
    FILTER(events,
    events[closed_date]=MinDate
    ))
    ,
    CROSSFILTER('calendar'[Datetime submit], events[closed_date], None),
    USERELATIONSHIP('calendar'[Datetime submit],events[closed_date]))

  • @jayt64
    @jayt64 6 หลายเดือนก่อน

    How do i incorporate a distinct count ? Instead of countrows

  • @gayatrilshinde1560
    @gayatrilshinde1560 3 ปีที่แล้ว +1

    This what I looking for👍

  • @bhanuprakash-ql7ut
    @bhanuprakash-ql7ut 2 ปีที่แล้ว

    Hi Curbal can you please expalin bit clearly in relationship model ,what all relationship to be made

  • @gmartinezm
    @gmartinezm ปีที่แล้ว

    Awesome video, what if I want to see in a chart, all the orders Opened (open date) and Closed (closed date) by week, the challenge im facing is that using table calendar with active relationship to active orders, sometimes is not coming back that week with the closed orders (inactive relationship). Not sure why closed orders are not coming back that week. Thoughts?

  • @pahan95
    @pahan95 3 ปีที่แล้ว +1

    Thank you!

  • @annarozyc5184
    @annarozyc5184 3 ปีที่แล้ว +1

    great video thank you !!!

  • @ljubicar1987
    @ljubicar1987 3 ปีที่แล้ว

    Very cool video. 👍
    I would only like to ask you to increase the size of visuals, it is hard to see when watching on the phone. Like you did when you were writing a formula, that was easy to see.

    • @CurbalEN
      @CurbalEN  3 ปีที่แล้ว

      I try to remember that, but sometimes... will continue trying ;)

  • @frankgovers8420
    @frankgovers8420 3 ปีที่แล้ว +1

    Nice, cross filter, first and second item, may switch. Date or order date does not matter

    • @CurbalEN
      @CurbalEN  3 ปีที่แล้ว +1

      Thanks!

  • @josefedericopresno6668
    @josefedericopresno6668 2 ปีที่แล้ว

    Great video and very helpfull. Thanks a lot!

    • @CurbalEN
      @CurbalEN  2 ปีที่แล้ว

      Fab to hear!!

  • @LandscapeInMotion
    @LandscapeInMotion 3 ปีที่แล้ว

    Love the idea! What software do you use to record your vids?

    • @CurbalEN
      @CurbalEN  3 ปีที่แล้ว

      Camtasia

  • @AnastasiaKolokytha
    @AnastasiaKolokytha ปีที่แล้ว

    I tried it but I see the same number of cases for all months, anyone that had the same issue?

  • @yornav
    @yornav 3 ปีที่แล้ว +1

    Thanks for the clear video. Is there a way to show at a point in time only orders that are open for more than x days? I'm trying to make a report that shows in a chart the number of tickets that are open for 30 days or more.

  • @xodrinker
    @xodrinker 3 ปีที่แล้ว +1

    As always 👍

  • @stephano9543
    @stephano9543 3 ปีที่แล้ว

    name of the file pls?

    • @CurbalEN
      @CurbalEN  3 ปีที่แล้ว +1

      Get the file from Gerhard post, he has proper data for you to play with.

    • @stephano9543
      @stephano9543 3 ปีที่แล้ว

      Ty so much for the video. I'm waiting for next video to learn how to get the color on the table

    • @CurbalEN
      @CurbalEN  3 ปีที่แล้ว +1

      Yes, I was thinking to publish it already next week, but I think it will be on 2 weeks instead, but it is coming :)

  • @Astronomynatureandmusic
    @Astronomynatureandmusic 10 หลายเดือนก่อน

    Unfortunately I cannot find correct content for #208 in your download center. It says "Userrelationship with slicers".

  • @bryanhaynie7377
    @bryanhaynie7377 ปีที่แล้ว

    Will this dax work if not all orders have a shipped date?

  • @mcnater
    @mcnater 3 ปีที่แล้ว +1

    Love the video thanks.

  • @sue_bayes
    @sue_bayes 2 ปีที่แล้ว

    Thank you and makes perfect sense using the Cross Filter

  • @mattmatt245
    @mattmatt245 3 ปีที่แล้ว

    Working with overlapping time periods is much easier in Excel then in Power BI

  • @michelleryan8512
    @michelleryan8512 2 ปีที่แล้ว

    This is great! How would I alter this to count distinct? Thank you

  • @EbenezerSarfoAdu
    @EbenezerSarfoAdu 3 ปีที่แล้ว

    Thanks but can't find the PBIX files

    • @CurbalEN
      @CurbalEN  3 ปีที่แล้ว

      The pbix file to get is the one in Gerhard's post :)

  • @NeBixAt
    @NeBixAt 3 ปีที่แล้ว

    Hi Ruth, do you prefer CROSSFILTER instead of ALL function in this case? What is your recommendation?

    • @CurbalEN
      @CurbalEN  3 ปีที่แล้ว +2

      It is more about the model and data when deciding which one to use. Test all the options ( removefilters, all, crossfilter...) and check which one performs better for you.

  • @rerangelt
    @rerangelt 3 ปีที่แล้ว

    Ruuuth! Como siempre, muy educativo.

    • @CurbalEN
      @CurbalEN  3 ปีที่แล้ว

      Gracias!!