cancel
Showing results for
Did you mean:

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a \$100 discount. Register Now

Frequent Visitor

## Variance to next Fiscal year

Hi,

I am calculating the difference between 2 numbers for a fiscal year

2022-2023

Total Rocks = 10

Total Apples = 6

Variance = 4

I would like the variance to only appear under variance in the next fiscal year and not any other.

2023-2024

Total Rocks = 0

Total Apples = 0

Variance = 4

So far I have this :

Variance = CALCULATe([Total Rocks]-[Total Apples ],(filter(all('Fiscal Year'),'Fiscal Year'[Fiscal Year]="2022-2023")))

How can I then apply the measure to report the value for next fiscal year only.

Thanks

Community Support

Hi @maggagnon ,

Do you have date column in the table?

Please share some sample data so that we could test the formula.

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

Announcements

#### Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

#### Power BI Monthly Update - February 2024

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

#### Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Top Solution Authors
Top Kudoed Authors