Using DAX in Power BI to solve Closing Balance for the Month with semi additive measures!

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ม.ค. 2025

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

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

    Brilliant example and very timely for me! Thanks. I especially appreciate you walking through the steps that most of us would probably try. It's always frustrating to find a solution that works, until it doesn't. Cheers!

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

    This was fantastic as usual! You always take on the sometimes difficult problems and are very thourough and clear the way you explain your approach.

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

    Fantastic tutorial!! Thanks!!

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

    Hi Mitchell, great video! Makes all sense when learning more DAX and put it to use. I'm struggling with a data set: customer accounts with acc balance for each time a transaction was done... there may be 3 transactions in May (LASTNONBLANK works) but there may also be 0 transactions in June. Now the closing balance for June should be the same as after the last transaction in May. How can this be solved best using the DAX functions you presented?

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

    Tks for the excellent video!
    By the way, what is the Dax Expression for the Close Price measure?

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

    Where could we download the dataset? Thanks you!

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

    What about using CALCULATE( [Close Price], LASTNONBLANK('Date'[Date], [Close Price],), ALLEXCEPT('Date'[Day]) ) ??? Would it be possible?

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

      It should be other way around. The All(‘Date’[Day]) would work. The ALLEXCEPT would give you numbers from last month for each day respectively which I guess in this scenario would be wrong

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

    What was the content in close price measure

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

    Awesome!!

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

      Thank Jihwan! Glad you liked it.

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

    Good one Mitchell , now you can take your vacation:)

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

    Hi, thanks for this. I have something quite similar but with mine it's a daily ending balance I'm after. Sometimes a day has multiple ending balances and sometimes there is no ending balance for the particular date if there was no transaction on the date. I've followed along closely to your video and don't understand why my formula errors. Can you help me?
    End of Day Balance:=CALCULATE(
    [Ending Balance],
    LASTNONBLANK(
    PARALLELPERIOD(
    GLI[Date],
    0,
    GLI[Date])
    ,
    [Ending Balance]))

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

      sorry I meant to include thar when the date has multiple ending balances it's the last entry I'd like to return. Thanks!