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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Swathi234
Regular Visitor

month increment from selected slicer value to calc burn rate

Hi All, 

i have below scenario , date and fact are join on fin_period  date.date = fact.fin_period

      
      
      
DEPTProjectFin_periodAmountForecast_typeExe_date
Axyz202211015000Budget20230301
Axyz202303012000Budget20230301
Axyz202305011000Budget20230301



needed output 

Slicer: date dimension -> year and month

     YTD amountBurn rate  
Slicer selected month 20221101 XYZ5000project not exe 
  20230201 XYZ5000project not exe 
  20230301 XYZ70007000first month of execution 
  20230401 XYZ70003500Second month of execution
  20230501 XYZ80002666.667divide 3 (3 month from exe)
  20230601 XYZ80002000divide 4 (4th from exe date)




banging my head to find the increment value from the exedate and calc burn rate , i have to check these values each project on each FY based

can any one help 

1 ACCEPTED SOLUTION
v-cgao-msft
Community Support
Community Support

Hi @Swathi234 ,

Please try:

YTD = 
CALCULATE(
    SUM('fact'[Amount]),
    FILTER(ALL('fact'),'fact'[Fin_period] <= MAX('date'[date]))
) - 
CALCULATE(
    SUM('fact'[Amount]),
    FILTER(ALL('fact'),'fact'[Exe_date] <= MAX('date'[date])),
    USERELATIONSHIP('date'[date],'fact'[Exe_date])
)
Burn rate = DIVIDE([YTD],MAX('date'[Month Number]) - 1)

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

1 REPLY 1
v-cgao-msft
Community Support
Community Support

Hi @Swathi234 ,

Please try:

YTD = 
CALCULATE(
    SUM('fact'[Amount]),
    FILTER(ALL('fact'),'fact'[Fin_period] <= MAX('date'[date]))
) - 
CALCULATE(
    SUM('fact'[Amount]),
    FILTER(ALL('fact'),'fact'[Exe_date] <= MAX('date'[date])),
    USERELATIONSHIP('date'[date],'fact'[Exe_date])
)
Burn rate = DIVIDE([YTD],MAX('date'[Month Number]) - 1)

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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