cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

1 ACCEPTED SOLUTION
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))
2 REPLIES 2
Community Support

Glad to hear you solved the problem yourself!

Best Regards

Yongkang Hua

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))

Announcements

#### Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

#### Power BI Monthly Update - August 2024

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

#### Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

#### Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors