Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 219306

3 Month YoY comparison

$
0
0

My goal is to create a table similar to the visualization matrix below.  This works great except when the 3 month period straddles 2 differenct years.  (December, January, February).   I've tried to recreate this with the PreviousMonths function, but still have the same issue and have the additional problem of having the previous month next to the current month and not separated as below.  Do I need to create separate measures for each of current month, current month minus 1 month, minus 2 months etc.? and how? I'm new to DAX Time Intelligence functions and with a lot of help from past postings have created a Dates table and the Prior Month Sales, but now am stuck.

 2015  2015 Total2016  2016 TotalGrand Total
 FebruaryMarchApril FebruaryMarchApril  
Customer A93134139366887882248614
Customer B525594202655393211413
Customer C13811314265    265
TOTAL2833022478321531311754591,291

Viewing all articles
Browse latest Browse all 219306

Trending Articles