Forum Discussion

Wendy_WL's avatar
Wendy_WL
Regular Visitor
3 years ago

Line Chart - show Total % and Average %

Hello,

My line chart shows monthly % of bad debt for Branch A, Branch B, Branch C.

Really appreciate your assistance on :

i) How to have a line in the chart to show Total % (Row Total in Green Font):

Total % for all Branches 1.9%(Jan), 1.5%(Feb), 3.3%(Mar), 1.3%(Apr), 0.9%(May), 1.1%(Jun), 1.1%(Jul), 1.5%(Aug), 1.5%(Sep).

ii) How to show Average % (Column Total in Red Font):

Average 1.7% for Branch A, Average 1.1% for Branch B, Average 2.5% for Branch C, 1.5% (Average for all Branches).

iii) Existing line chart is for month-to-month comparison.

How to have a measure and chart to show quarterly comparison? E.g. Jan to Mar'23 vs Apr to Jun'23 vs Jul to Sep'23.

New Measure: Bad Debt(BD)% =

VAR BD=
SUM('Branch Collection Records'[Value])
VAR All_Collection=CALCULATE(DISTINCTCOUNT('Branch Collection Records'[Collection Reference]))
RETURN
DIVIDE(BD,All_Collection)
New Column:  Value = if ([Bad Debt]="No", 0, 1)

 

 

 

 

 

1 Reply

  • Wendy_WL's avatar
    Wendy_WL
    Regular Visitor

    Hello,

    I am new to the Community and re-upload the images.

    Really appreciate your assistance.   Thank you very much.