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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
dantheram
Helper II
Helper II

Running Totals - no dates

hi all

 

how can i create a running total for this table?

 

the values need to reset at period 1 for each financial year, so they are cumulative from period 1 2021/22 to period 13 2021/22 and then start again at period 1 2022/23.

 

dantheram_0-1670337492299.png

 

thanks 

Dan

1 REPLY 1
Uspace87
Resolver III
Resolver III

Hi,

 

I suggest to greate a "Date stamp" for each period which rappresent when the period end or start. Then you connect that date to your "Date Dim Table" (If you don't have one I will suggest you to create one as per best practice).

 

Then you can use the following time intelligence measure:

Measure =
 CALCULATE(
   Incidents[Incident_count],
  DATESYTD(Incidents[Period Ending],"13/01") (the 13/01 is just an example and it should be the last date of the fiscal year in the formai dd/mm)
    )
 
Please find below my example:
 


 

Uspace87_0-1670340467418.png

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.