Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Data connectivity - Total Yearly Value

Hello Felows,

I've issue with data connectivity and I hope you will help me to resolve it.
Basically I've two data sets. First data set shows Actual Yearly QTY and second data set shows Target Yearly QTY.

Actual Yearly QTY 

Cal. YearIDQTY
01-01-202030115
01-01-202030220
01-01-202030330
01-02-202030650
01-02-20203085
01-03-2020330100
01-04-20203313


Target Yearly QTY

Cal. YearIDQTY Target
202030120
202030260
202030370
202030615
20203086
20203307
2020331802
202130136
202130224
202130398
2021306364
202130835
2021330147
202133157


The Target Yearly QTY is only indicating "Year" , is not full date. Accordingly I created a seperate table using the following DAX command:

Calendar = CALENDAR(DATE(2020,1,1),DATE(2022,12,31))
and then I extracted "Year" using DAX command: 
Calendar Yer = YEAR('Calendar'[Date])  

I've connected data sets, but the values in the report is not showing the correct outcome when I click on Year Slicers: 


Any suggestions how to resolve it?

2 Replies