Ageing Analysis PowerBI using DAX

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

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

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

    Vijay, your video was excellent. Helped me solve one of my DAX issues.

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

      You are always welcome. If you could describe more so that it may help other subscribers as well

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

      @@vijay_ I wanted to count employee by age groups. My model has FACT rows populated by month for EoM metrics. One very silly mistake I was doing is that I calculated age in my source excel and assumed it was numeric. DAX showed error and I struggled for some time before I realized that the field should be defined numeric or whole number. The second challenge was to ensure that for the selected FY filter, I needed the latest set of metrics and here is where I used a Variable to get MAX action date and included the same in my filter.
      Pretty satisfied with my DAX measure now as it can help create multiple analysis around these age groups.

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

      I guess it is kinda off topic but does anyone know a good place to watch new series online ?

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

      @Roger Ronan Flixportal =)

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

      @Gregory Christopher Thank you, signed up and it seems to work :D I really appreciate it!!

  • @julie_chen
    @julie_chen 2 месяца назад +1

    Simple and very effective measures 🙏🙏🙏🙏🙌👏

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

    Explained it in very detail level and easy to understand.. Only few people knows teaching well and u r one of them sir.. Great

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

      Thanks for Feedback

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

      @@vijay_ sir, is it possible to upload video on how to send bulk auto emails to customers with their statements based on their ageing.

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

      @@krishnanseshamanikrishnan1950 not really required to send bulk email.
      Once you publish the report to power bi service and share with team members.
      They can use this report , but will th pro license.
      And subscribe all the use s to the report thru will get an email with ageing report on the e-mail body without any bulk mail mail setup

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

    Learnt heaps, but for me one of the most powerful pieces of information was when you referred to the number of closing parenthesis and how you know you have included the right amount was when the tool tips box disappeared (@8:25) - never realized that this was a great visual tip for having the correct number of closing parenthesis - so simple!

  • @arbazahmad7177
    @arbazahmad7177 2 года назад +2

    Very clear explanation 👌 easy to understand and learn...Thanks

  • @starling2393
    @starling2393 4 года назад +7

    Awesome tutorial, I loved your teaching style here. Very easy to follow for someone familiar with Excel but completely new to PowerBI.

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

      Thanks for the valuable Feedback

  • @ΧρήστοςΛέφας-δ9σ
    @ΧρήστοςΛέφας-δ9σ 3 года назад +1

    Grate Job! Thanks.

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

    Very nice video and very well explained! Kudos!

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

    Awesome video ji its really great

  • @kumarankit9172
    @kumarankit9172 4 года назад +2

    You have explained it in a very simple way. It was really helpful.

    • @vijay_
      @vijay_  4 года назад

      Glad to hear that

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

    Thank you for sharing this, this has help a great deal. Excellent video and well presented.

    • @vijay_
      @vijay_  4 года назад

      Glad it was helpful!

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

    Very good video.

    • @vijay_
      @vijay_  4 года назад

      Thank you very much!

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

    Vijay excellent video...really appreciate your hard work on this video...i am new to Power BI and your ageing report was highly creative.

    • @vijay_
      @vijay_  4 года назад

      Hi Sukhvinder Thanks!! If you wanted to learn Power BI please reach out , I can help you!

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

    This tutorial was very helpful. Thank you

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

      Thanks for Feedback

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

    Great job on this. So much valuable information in a short amount of time! Easy to follow and understand. Thank you.

    • @vijay_
      @vijay_  4 года назад

      You're very welcome!

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

    Very well explained..! 👍😊👏

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

      Glad you liked it

  • @sudhirtalekar9720
    @sudhirtalekar9720 4 года назад

    Superb Video Very helpful. Thx for sharing the same.

    • @vijay_
      @vijay_  4 года назад

      Glad it was helpful!

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

    Very easy tutorial sir, thank you so much

    • @vijay_
      @vijay_  4 года назад

      You are most welcome

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

    Awesome awesome awesome... Highly thankful to u 🤗

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

      Most welcome 😊

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

    Great work you did. I love your work. Thank you

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

      Thank you very much!

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

    Vijay- Video was nice. Just query in Ageing calculation the "&" formula is not working. So do we need to activate anything

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

      It is twice &&

  • @ShenaliWickramarathne
    @ShenaliWickramarathne Год назад +1

    Thank You, this helped me out. However, this causes performance issues in the report. Any alternative solutions to get the same outcome?

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

      You can create a measure for Age in days thru measure instead of Column to make bit more.efficient

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

    Great sir.. Really loved this video.. Keep motivation us..

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

    The formula is not working with me and I don't know why, I have tried to track your steps with no success
    Inv 120-360 = CALCULATE([Total Invoices],FILTER(ALL('الجدول1'[AGE],'الجدول1'[AGE]>=120&&'الجدول1'[AGE]

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

      After filter ,distinct(invoice no))

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

    this is exactly what i was looking for but the formula at 8:29 is confusing. Would appreciate it if it was broken down more.

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

    Great video. I don't get the functionality of Countrows in outstanding measure... what part countrows actually plays to the sum of each age group?

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

      It evaluates
      Each individual age rows to make sure the number rows more than 0 .
      Based on that the data will be populated on the context filter with other age group table.

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

    Great sir

  • @inmt0497
    @inmt0497 Год назад +1

    Hello Vijay. Great video as it helped me a lot. One question I have is, why is the age grouping done as 0-30, 30-60, 60-90 instead of 0-30, 31-60, 61-90 and so on? Thanks in advance.

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

      Because if you look at the formula I hv considered that.
      Agen in days > Menasha we are exclude 0,30,60 etc and the values will be produed accordingly

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

      You can change the to 0-30 , 31-60 and so on in the table what you create

    • @inmt0497
      @inmt0497 Год назад +1

      @@vijay_ Thank you... I found that I needed to updated the Outstanding formula to read >=Min and

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

    Thanks for the great tutorial. Can you please also give some more insights for historical aging accounts receivable amounts for the selected date in the past? Say, I want to compare last months aging AR to current month or week. How to built in the paid amount or paid date into formula?

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

      You can create Datetable and use dateadd function to see what is previous period status of same invoice or sake customer.

    • @yfarzona
      @yfarzona 3 года назад +3

      @@vijay_ Thanks Vijay. Can you create a video on your channel and show that based on your database? I found there were a lot of people asking same question as mine, but there are no tutorials on aging AR historical trends.

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

    How to go to the 2nd line while calculating new measure. If I click enter it didn’t go the néw line 4:35

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

      Shift+Enter to go to second line

  • @EdSongoku
    @EdSongoku 2 года назад +2

    How do you update this report once some of the invoices are paid?

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

      In the source data you can create two columns one payment received and another one is balance Ostanding.
      Use balance Ostanding column for your calculations to hv control on the as on date value.

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

    Hello Vijay Sir. I just came across this vdo. Are there more vdos on AR related please? I am looking for Weighted average days by cust calculation please.

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

    This was very helpful. Thank you. I'm trying to figure out how to add retainage to the groups and basic measures. In my table I have a field for amount due and a field for retainage due. How can I get the retainage due to show in my visuals? I need the total retainage due not based on aging.

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

      If you can share a.sample.dummy data , i can explain better with another video
      Vijay.perepa@ameetz.com

  • @alecpfeffer5697
    @alecpfeffer5697 4 года назад +4

    Vijay, Good Video. Is there a way to link your source table (Debtors) to your group table (Groups)? I am trying to cross filter a table consisting with all of my source data with my aging groups and there are no relationships established between the two tables. I tried creating a column for today's date however this Many/Many relationship is not allowing the results to cross filter. Thank you,

    • @vijay_
      @vijay_  4 года назад

      Hi Alec, Let me look into and create a model so that I can explain you. Give me little time. Mean time watch my latest video on M query and let me know your views Thanks

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

      @@vijay_ Vijay, Any update on this? Thanks

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

      Hi Vijay, your video is very helpful. I am also looking for a solution how to link Groups table to the fact table. Thanks in advance

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

    Good video ... Simple explanation . Two questions with practical perspective1 This is an as on date report what about if we want to have ageing as on specific date . 2 what about payment against your invoice , how would you handle this if the data comes from erp directly. considering as on date would be simpler but again how do you manage as on specific date . There will be application against each invoice ?

    • @vijay_
      @vijay_  4 года назад

      If the Data comes from the server, you can take the data (only Outstanding) to make the logic used in the Video possible. We need to run an SQL Query.
      Yes we can create on a specific Date context also using DAX.

  • @Lee-pq5ch
    @Lee-pq5ch 3 года назад +1

    hello, what if i want to use the first day of the current month - invoice date, how do to this?

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

      Then add a new column containing a current month day 1
      With
      = 1 & FORMAT(TODAY (),,"MMM")&YEAR(TODAY ()))
      And convert the data type to date
      Age in days = DATEDIFF( invoice date,new column , Day), will give you the required result

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

    Could you pls create a inventory aging Report for given period of time with slots(0-90,91-120,121-181...) With inventory and Value of these buckets/slots

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

    Hi Vijay, great tutorial... Can you share the Excel workbook so that we can follow along and plot the visuals. TIA.

    • @vijay_
      @vijay_  4 года назад

      find this
      drive.google.com/open?id=1SYjDTCsUR4pQx8mQf5auOVS2d2F3Htec
      I suggest to use your own data

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

    Many thanks for the video. Its been very useful. I have a question on one of the measures ie the Invoice 120-360 days. where do I insert a ZERO number in the formula in order to ensure that I don't get a (Blank). I inserted a ZERO at the end of the measure and got an error

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

      End of the formula just add +0

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

      @@vijay_ Fantastic. It works now ( I wrongly added a comma before the zero instead of using the plus sign. Many thanks for sorting this.

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

      You are welcome

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

    Hi Sir,
    I want to learn Power Bi can u suggest how to learn. One on one have been given a project by my company. Trying online videos but its not helping me too much.

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

      It is always better to get trained by a professional trainer.
      You can visit few best institutions in you area to find a trainer. You tube videos are basically one time reference points

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

    how if the age less than 0 Days?
    and needed to input Current

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

    Great video. Just quick question, do you know why the Age groups are not following the specific order I gave them? In your video they do. But I have 0-30, then 60-90, etc. when I do a pivot/filter table.

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

      You can customise it the way you want
      But need to make sure there is no gap. In your case 0-30, and later it was 60-90.,
      Between these two all records are not getting evaluated being nin considered in any group, do you must hv consider them in any one of the age group.
      Hope that clarifies

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

      @@vijay_ sorry I havent explained well, I have put the same ones than you, without gaps, but when I do a table, they come out in different order :(

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

      I think you are getting order of 0-30 then 60-90, then 30-60,?

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

      Then you need to create an index column in the group table .
      Then sort the group column by index column in the columns tools tabs

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

    It's very nice sir..Can you share that Excel so that we also can practice?

    • @vijay_
      @vijay_  4 года назад

      You can just create a dummy days with the columns I hv used. It's simple data.

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

    Thank you so much for the video. It is very useful.
    I did it for collection by AR Ageing (Invoice date - Received date). When I add filter "Month" in the page, it is ok if we look by month.
    But I have a problem when I need to see by YTD, I have created Collection YTD by AR Ageing . The result still same MTD. Do you know what are measures I have missed.

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

      Thanks for feedback.
      Please create YTD on ageing value and you need to use the slicer . If still not able achieve please let me know

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

      @@vijay_ Thank you so much for your advice, I'll try.

  • @raquellancho8111
    @raquellancho8111 5 месяцев назад

    What if instead of using Today() I want that date to be dynamic based on a slicer?

    • @vijay_
      @vijay_  5 месяцев назад

      Selected lvalu(date) in the slicer

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

    Thanks for this video! One question, what is the advantage to doing this data coding in powerbi compared to directly in excel? For example, would this have the same outcome if the groups were already added in the excel sheet?

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

      In Power BI this process much more robust and automated. Ofcourse we can do this in excel as well.

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

    Hello Vijay
    This has been a great help in solvin gone of my most complex scenarios. However, I need to have the report as at a specific date in the past based on a filter on calendar date table, hence the age column will be dynamic.
    Can you please provide some guidance?
    Thanks

  • @kwabenaagyekum7305
    @kwabenaagyekum7305 4 года назад

    Please I have this question,sir: 1..how do I get the outstanding before doing their ageing analysis if I am not using any ERP as your fact sheet was pulled from an ERP (assumed)?
    2. If you use an ERP and you pull for the outstanding before doing ageing analysis, may I know how your fact sheet will get updated with new data?
    Thank you

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

      Process is same!

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

    I am looking for a power bi developer for a paid task.preferably someone who has experience working with finance data, AR and AP

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

      You can reach me at vijay.perepa@ameetz.com

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

    How if the aging less than 0 Days in groups data?

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

      In practical situation less than 0 shld not be there. However in case of less than 0 make ur ageing group to less 0 also.

  • @stanulli
    @stanulli 4 года назад

    Hi Vijay Very good tutorial Possible to share the file? Just came across your video today

  • @shubhamsharma8373
    @shubhamsharma8373 4 года назад

    hello, sir, I wanna do an analysis of one Fiscal year balance sheet where we have columns of opening , debt, credit, closing. please suggest me a video to do this properly

    • @vijay_
      @vijay_  4 года назад

      Please Share some Data to Create a Video

  • @SM-vd1ri
    @SM-vd1ri 4 года назад +1

    Hi, I need to know how can I define a date do analyse de ageing, it meas what is the to atl amount in debt at a certain date.

    • @vijay_
      @vijay_  4 года назад

      Can you rephrase you question. i could not get!

    • @SM-vd1ri
      @SM-vd1ri 4 года назад

      I need to know the ageing in a certain date not only compare with today

    • @vijay_
      @vijay_  4 года назад

      Then you need to create the age of invoice based on Inv date (minus) selected date

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

      @@SM-vd1ri Hi, did you find out how to do that? I can't create the age based on the selected date, the calendar table is not active to bring to the formula..

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

      Will be creating soon

  • @nguyenhoabinh6262
    @nguyenhoabinh6262 4 года назад

    Can anyone help to breakdown the Outstanding measure formula?

  • @bhoomireddybhagyalakshmi8996
    @bhoomireddybhagyalakshmi8996 4 года назад

    How to you can get the this data pls tell me

  • @shubhamsharma8373
    @shubhamsharma8373 4 года назад

    I got a error in power bi to load access database as container existed unexpectedly error code ..............do you have any way to deal this

    • @vijay_
      @vijay_  4 года назад

      Power bi cannot handle data from xls and xlsb. Use only xlsx data

    • @shubhamsharma8373
      @shubhamsharma8373 4 года назад

      @@vijay_ sir am talking about Microsoft access database

    • @vijay_
      @vijay_  4 года назад

      @@shubhamsharma8373 Try the solution from this link docs.microsoft.com/en-us/power-bi/connect-data/desktop-access-database-errors
      However will try to create on this topic

  • @johnsonroy7233
    @johnsonroy7233 4 года назад

    Sir your video is awesome but please i also need your support:
    I am new to the DAX and I don’t know the forward step in my scenerio. I have to calculate Days of Sales for last 90 days in groups. i.e. 0-30, 30-60, 60-90, 90-120, >120 days but I am stuck in mentioned below step:
    '----------> Formula for Days of Sales = Stock Value / Avg. Daily Cost of last 90 days
    As Stock value for all items were in calculated column so I created a measure which is:
    Total Net_StockValue:=SUM('QOH_-_All_BUs'[Total Stock Value])
    so to calculate last 90 days cost I have to first calculate mention below: which I did:
    Total Cost:=SUM(Sales[Cost])
    Day Before 90 Days:=[Today]-90
    # of Days = 90
    Then I calculated Cost for last 90 days:
    90 Days Cost:=CALCULATE([Total Cost],DATESBETWEEN('Calendar'[Actual Date],[Day Before 90 Days],[Today]))
    then I calculated Average Daily cost for last 90 days:
    Avg. Daily Cost for Last 90 Days:=DIVIDE([90 Days Cost],[# of Days])
    then as per formula I have calculated Days of Sales:
    Days of Sales:=DIVIDE([Total Net_StockValue],[Avg. Daily Cost for Last 90 Days])
    Now I have to calculate Days of Sales for last 90 days in groups. i.e. 0-30, 30-60, 60-90, 90-120, >120 days. But I don’t know how to do it and my employer asking me again and again….Any help will be highly appreciated:
    Please need any one support...…..Thanks

    • @vijay_
      @vijay_  4 года назад

      Will come back to you!

    • @johnsonroy7233
      @johnsonroy7233 4 года назад

      @@vijay_ Sir can i have a solution to my question please?

    • @vijay_
      @vijay_  4 года назад

      I am trying to understand this. In one statement you said days of sales for only 90 days then what is the purpose of showing them in groups. Once you have fixed 90 days values it is not possible to segregated by other groups. Some thing is missing in the explanation. I have done all formulas above but still not understanding the objective. Please rephrase the question so that I can definitely help you.

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

    I find difficult to understand the logic 😕 what is happening behind the scene.

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

      Segmentation

  • @dharmeshshah7388
    @dharmeshshah7388 4 года назад

    Nice video. Please share .pbix file