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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
ebrownretail
Resolver I
Resolver I

Data is Blank

Hi!

I am trying to pull a table that gives me last fiscal year unit qty. i tried doing this through date add, etc but it was not pulling by the fiscal year, only the actual year.

 

below is what i am trying to use

LY Invoiced =
CALCULATE(SUMX('Past Order', 'Past Order'[Qty]),
 FILTER('Past Order', 'Past Order'[Fiscal Year] = [Curr Fiscal Year]-1))
 
Any ideas on how to make this come back with information? its currently coming in blank
ebrownretail_0-1723652543752.png

 

1 ACCEPTED SOLUTION
ebrownretail
Resolver I
Resolver I

I just figured it out! This ended up working. 🙂

 

LY Invoiced =
CALCULATE(SUM('Past Order'[Qty]),FILTER('Past Order', 'Past Order'[Fiscal Year] = CALCULATE(MAX(Dates[Fiscal Year]),FILTER(Dates,Dates[Date] = TODAY()))-1))

View solution in original post

2 REPLIES 2
v-yohua-msft
Community Support
Community Support

Hi, @ebrownretail 

Glad to hear you solved the problem yourself!

 

Best Regards

Yongkang Hua

ebrownretail
Resolver I
Resolver I

I just figured it out! This ended up working. 🙂

 

LY Invoiced =
CALCULATE(SUM('Past Order'[Qty]),FILTER('Past Order', 'Past Order'[Fiscal Year] = CALCULATE(MAX(Dates[Fiscal Year]),FILTER(Dates,Dates[Date] = TODAY()))-1))

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.