Calculate OPEN CASES over time in Power BI | Part 1

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

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

  • @katiewilliams5559
    @katiewilliams5559 3 года назад +2

    Very useful, thank you. I made some adjustments and used it to calculate open invoices (entered, not paid) for any end of month in the data history.

  • @olabystrom5265
    @olabystrom5265 Месяц назад

    Hey man, just discovered your channel and it's really boosted my abilities in PowerBI (and quickly!). I have a question for this measure, you reset the filter with ALL, but how would you then go about applying slicers to the result? For instance, if you had different departments that you wanted to calculate and show separate (or all together) with the use of a slicer. Currently that isn't working for me, I guess because of the ALL() line in the measure?
    EDIT: I found the solution to my problem. To avoid ALL() clearing the filters you might want to use, I instead used ALLSELECTED() and that applied my slicers to these measures as well. Thank you once again for your channel!

  •  3 года назад +2

    Your step by step explanation are really powerful. Also like the emphasis on the context and need to use ALL()

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

      that's very nice to hear, thx François 🙂

  • @pragya4u
    @pragya4u 2 месяца назад

    Thank you very much, I was struggling for last two weeks to implement one scenario similar to this, and finally ALL() works like a magic. Your detailed explanation is much helpful.
    Although data are matching now but unfortunately facing poor performance. Note we have three dates in fact with which we need to apply filter conditions similar to what you explained and also we have direct query mode, not sure if the performance can be improved ☹️

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

    I was struggling with code to do this from another source and it kept screwing with my filters. Your solution solved my problem and is very clean. Thanks!

  • @ClaudiaMorales-mw7is
    @ClaudiaMorales-mw7is Год назад

    Great explanation. I was able to modify for my needs. Thank you!. I am now trying to figure out a breakdown by an aging category. With this dataset I need to know for any given month, how many employees had less than 3 years of senority, how many 3-6, how many 6-10 and how many 10+. My dataset is open orders so I need to calculate for any given month how many open orders were less than 30 days old, how many 31-60, 61-180, 180+

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

    Great explanation again. I like the way you show the steps you take to come to the final solution. Especially for this for me hard to understand DAX-language: VARs which aren't vars, FILTER context, use of CALCULATE and not use FILTER within CALCULATE. Still have a lot of probs with DAX, so any concrete stepwise solution is helpful. Bedankt !!!!

  • @AnisurRahman-wm2ys
    @AnisurRahman-wm2ys Год назад

    Hello, thanks for your excellent work. I have one question, what we need to change in the measure if we want to get open case by department over time ? have you this type of video ?

  • @hhFaktor
    @hhFaktor 2 года назад +1

    Just what I was looking for, and using variables makes the code much cleaner. Thank you.

  • @williamarthur4801
    @williamarthur4801 9 месяцев назад

    I was trying various options, things like lastnonblank etc. another good video,
    i still have to check my results. mocked up small data set to practice on.

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

    That was awesome, just was I was looking for this week to find number of active student at a college month over month

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

    Really helpful, anyway you could show this for time of day, for example how many open between 6am and 3pm? Also for events open that's stay open passed midnight.

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

    Bro this is great, I have a problem I want to create a bar char including Orders Created, and Orders Closed per week. But, I want to still show Orders Closed even if Orders were not created on that week, Thoughts?

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

    Love your explanation and pace. You got a new subscriber!
    Thank you.

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

    You have just done 1/3 of my dashboard thank you!

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

    This is very useful. How might I be able to enter any date and show the figure at that date please?

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

    This was very helpful. Can you please let to know how I can get to know the employee number that are cumulatively added

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

    Thank you so much, this really helped me with distinctcount active accounts and closed accounts with open contracts dates and closed contracts dates. I did some editing. However, when I use the totalytd, it is not working. I’m wondering why?

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

    Hi, This measure was very helpful. Thanks for uploading this video. Is there any way we can increase the performance of this measure because it usually takes 5 10 min to load the data. If you can help me with that it would be really helpful for me. Also, am i the only one facing performance issue with this?

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

    This is brilliant. What about materialization cost for large tables?

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

    Brilliant and clear, many thanks

  • @FernandoRamirez-ce2ou
    @FernandoRamirez-ce2ou 2 года назад

    Thx Bass Another problem solved with this tutorial

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

    Truly a life saver. Thank you!

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

    god bless you, you saved my life

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

    Very helpful. Already subscribed. Thanks again!!

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

    Thank you so much! This video helped me a lot!

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

      great to hear it helped Maria! 😊

  • @amydavies2213
    @amydavies2213 11 месяцев назад

    Thank you for this. It works really well, but when I create a drill through from it, it doesn't return the correct records and returns records that have closed prior to the end date. Anyone know where I am going wrong? Thanks

  • @MiguelJimenez-pg6zs
    @MiguelJimenez-pg6zs Год назад

    In my case, I need to see the number of Active employees at the start of the month instead of the end of the month? I change the Var CurrentDate to Min but I am not getting the result I am looking for.

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

    Hi ! Thank you so much, very useful! But I encounter an issue. If I put a date filter in the page, because I want to focus only on active employee for 2020 for example, powerbi show me a wrong active number because it does not count hiring before 2020, because it is filtered, despite the usage of All(DimDate). Do you know why ?

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

      Hello!! Did you find a solution for your problem? I have the same issue! The All suppresses the date slicer selection.

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

    Great video. I am using your method to show active subscriptions on some products. What if I want to view 1year, 2year, and 3 year active subscriptions? What kind of variable can I add for this?

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

      ah interesting, I will create a video on how to do that and upload it coming Tuesday

    • @HowtoPowerBI
      @HowtoPowerBI  3 года назад +2

      there we go! ruclips.net/video/7_kAJ7wSwJk/видео.html :)

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

    Does this not work with fields that have a time stamp as well?

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

    Very helpful video brother!!

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

    Thank you ! You saved me 😍

  • @FernandoRamirez-ce2ou
    @FernandoRamirez-ce2ou 3 года назад

    Great video

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

    This calculation definitely comes back over and over again hahahaha
    Is it the same as the one called "events on progress" by the SQLBI guys?!

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

      Not sure, I haven't seen it yet. From the title it sounds like it covers the same type of calculation.

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

      @@HowtoPowerBI besides that thanks for your video!!! It helped me a lot 👍👍👍 actually there is a small difference which the condition ISBLANK filtering the table is something that i haven't seen until now

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

    I found this very fhelpful but for some reason I didn't count the dates in the dimension table, rather the columns in my source table

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

    Subscribed!!

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

    Great video!, kindly share the file for practice.

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

      thx Ridoh! datatraining.io/youtube/powerbi/040_active_items/active_items.zip

  • @aas2943
    @aas2943 3 года назад +2

    kindly share .pbix file for practise ...it would be a great help for your active subscribers

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

      Please have a look in the video description :)

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

    what is dimDate? I did not understand.

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

      Hi Diana :) that's the name of the date dimension table. This video explains all about it -> ruclips.net/video/MhC4zj2byBQ/видео.html

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

    Thanks again, your solutions are so smart. Sexy!