cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jonarm9 New Member
New Member

Comparing current year monthly data with previous years

I'm very new to Power BI, so please excuse me if this is a very basic question. I have a stacked column chart showing monthly activity in a few ledger accounts by month (one column per month, stacking on GL accounts). I would like it to compare this monthly data with data from months of previous years. However, if I expand my filter to include older dates, it does give me additional columns but in chronological order. I've tried the clustered chart, but then I lose the stacking ability (not to mention that it clusters on ledger account and not year).

 

Is there some way I can do this? Thanks for any help you can provide!

 

 

2 REPLIES 2
Super User
Super User

Re: Comparing current year monthly data with previous years

@jonarm9 First, you'll need a date table if you don't have one. Second, you can refer to this thread as you will need to create a DAX calculation to visualize the Year over Year values.

 

Near SE WI? Join our PUG Milwaukee Brew City PUG
Moderator v-sihou-msft
Moderator

Re: Comparing current year monthly data with previous years

@jonarm9

 

In this scenario, you can create another measure to calcualte the same month data in previous year with PARALLELPERIOD() function. Then you just need to include both Current and Previous fields into Value.

 

Capture99.PNG

 

Regards,