Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

compare current year sales with last year

Hi Guys,

    I am new to power bi i need to compare current year sales with last year. i am having data from 2018 january to 2019 november and connected live through SSAS cube. when i use SAMEPERIODLASTYEAR i am able to get the last year value. But when i apply the year filter say 2018 the it shows the current year value but the last year value 2017 becomes blank. Provide me a solution

1 REPLY 1
v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

i am having data from 2018 january to 2019 november and connected live through SSAS cube.
Because you don’t have the data of 2017, so when you filter 2018, the values of last year are blank.

 

Best regards,
Lionel Chen

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.