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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Nate_BI
Frequent Visitor

Measures To calculate Budget across Fiscal years in a program year

I have a dimdate table which has Program year(Jul 1-Jun30) and a Fiscal year(Oct 1-sep 30). I want to cal calculate the budget for the program year across the two fiscal year buckets. PY-FY.PNG

 

The measure I want to create is like the one below,but when I try to reference the columns from the date table it is faded( because I don't want the aggregated form). 

Total Allocations FY=
Var FY1 =DIVIDE(Measures_table[Table Allocations],3)
Var FY2 =DIVIDE(Measures_table[Table Allocations],9)

return
if Program year from dimdate is greater than Fiscal year from dim date,then FY1:
elif:
Program year from dimdate is equal to Fiscal year from dim date ,then FY2
else:
None(Blank())
Can anyone help me with any workarounds?

1 REPLY 1
amitchandak
Super User
Super User

@Nate_BI , datesytd can take FY end date, See if this blog can help

 

Distributing/Allocating the Yearly Target(Convert to Daily Target): Measure ( Daily/YTD): Magic of CLOSINGBALANCEYEAR With TOTALYTD/DATESYTD: https://community.powerbi.com/t5/Community-Blog/Power-BI-Distributing-Allocating-the-Yearly-Target-C...

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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