Forum Discussion

bouyazbekj's avatar
bouyazbekj
Icon for Helper I rankHelper I
7 years ago
Solved

Help: AR aging graph

Hello,    I am new to power BI and trying to create a useful graph to show again per customer in a graph. So essentially 1 bar per customer and the bar total is the total amount broken down into 0-...
  • parry2k's avatar
    parry2k
    7 years ago

    bouyazbekj add new column in model for aging days, 

     

    Aging Days = 
    VAR days = DATEDIFF( Table2[Due date], TODAY(), DAY )
    RETURN
        SWITCH ( TRUE(),
        days >= 91, "90+ Days",
        days >= 60, "60 - 90 Days",
        days >= 30, "30 - 60 Days",
        "0 - 30 Days")

    On stacked bar chart, add customer on x-axis, aging days as legend and amount outstanding as value and you will get the chart