Forum Discussion

avi081265's avatar
avi081265
Helper III
3 years ago
Solved

Aging Analysis for different day range

Hello All, I have Order table, I want generate to generate aging analysis. Order table has following fields 1. Order No. 2. Order creation Date 3. To be Approval Date 4. Approval Date 5. To be ...
  • Ritaf1983's avatar
    3 years ago

    Hi avi081265 
    You can add your calculations as calculated columns and then create simple bins for them.
    please refer linked tutorial:
    https://www.youtube.com/watch?v=PjHgi7X3_Bw

    If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

  • Ritaf1983's avatar
    Ritaf1983
    3 years ago

    Hi Avian65 .
    This is the steps of a simple segmentation :
    1. Add a column with Dax like :

    Time of execution = switch (true(),
        [Days]>=0 && [Days]<=30 , "0-30",
        [Days]>=31 && [Days]<=60 , "31-60",
        [Days]>=61 && [Days]<=90 , "61-90",
        [Days]>=91 && [Days]<=120 , "91-120",
        [Days]>=121 ,"121+")

    2. Add a column for the sort order of your time execution on the visuals:

    rank to sort = switch (true(),
        [Days]>=0 && [Days]<=30 ,1,
        [Days]>=31 && [Days]<=60 , 2,
        [Days]>=61 && [Days]<=90 , 3,
        [Days]>=91 && [Days]<=120 , 4,
        [Days]>=121 ,5)
     

    3. Modify sort order:

    4. Put all you need on a matrix:

     


    Please Note :
    There were some mistakes in your data, and I did not correct them.
    Just wanted to show you how it works.

    Link to a sample file with solution 

    If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly