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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
PBI_37
Regular Visitor

Calculate the variance with the last value of the previous year

Hi everyone,

 

I need your help to calculate the variance with the last value of the previous year.

Expected result :

PBI_37_0-1704555658645.png

Here is the link of the PBI file : 

https://drive.google.com/file/d/1kSY2MDKMvnRlUDlK03T87FBxDDYTwxeJ/view?usp=sharing

 

Thank you

 

 

1 ACCEPTED SOLUTION

pls try

if something is wrong, give me the updated file

 

View solution in original post

4 REPLIES 4
PBI_37
Regular Visitor

Thank you @Ahmedx 

I added data for 2021 but the last December 2021 value is not on 2022 rows.

PBI_37_0-1704563298586.png

 

pls try

if something is wrong, give me the updated file

 

It works fine.

 

Thank you

Ahmedx
Super User
Super User

pls try this

Screenshot_3.png

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.