sql - Overlay balance to credit and debit Line graph in PowerBI -
i creating dashboard direct query. using line graph visulations plotting transaction volumes , splitting them: credit or debit. on same graph overlay current balance. please see attached image. combine these 2 graphs dont know how to. advice welcomed! enter image description here
i change visualization line , stacked column chart. can use account balance column series.
the line values little trickier. need 2 new calculated measures, like:
credit = calculate ( sum ( 'my table'[volume] ) , 'my table'[txnmethod] = "credit" )
ditto debit. note guessing aggregation [volume]. add 2 new measures line values.
buried in format section under y-axis show secondary switch, turn on separate y-axis lines.
Comments
Post a Comment