This should definitely be solved at the data level. The associations in the test data are wrong or corrupt. Fixing them in your expressions will create lots of trouble when you create your visualizations.
#1: A Calendar dimension should be as complete as possible going from the oldest date to the newest without holes.
So it should go from Jan 2013 up to at least Jan 2016.
#2: The associations that are in the Fact table are just not correct.
Example from the first row of the Fact Table:
KeyDim, KeyCalendar, Value
Here: KeyDim=1 gives Jan 2013 and KeyCalender=1 gives Dec 2015
It should be
Maybe I have misunderstood so you can convince me that your data is correct....