Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

cumulative giving

ResolvedVersion 2016

Cumulative Giving

Hello, me again!

I am trying to create a line chart, split by financial year, showing cumulative giving for each year starting at zero.

I currently have a measure which reads

running YTD = calculate(sum('Gift Export'[Gift Amount]),filter(ALL('Dates'),Dates[Dates]<=max('Dates'[Dates])),VALUES(Dates[MonthName]))


but this is giving me monthly values rather than increasing month on month, and they're not right!

I tried something previously but that didn't see each year beginning at zero.

Thanks!

RE: Cumulative Giving

Hi Lou,

Thank you for the forum question.

Try something like:

running YTD = calculate(sum('Gift Export'[Gift Amount]),DATESYTD(Dates[Dates]))


Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

RE: Cumulative Giving

Hi Lou,

Another approach could be:




running YTD = TOTALYTD(sum('Gift Export'[Gift Amount]),Dates[Dates])




Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

RE: Cumulative Giving

Hi Jens,

I think the issue might be that my year starts in August. The months are in the right order but I'm not sure I've told it to start the year in August.

Thanks

RE: Cumulative Giving

Hi Lou,


Try:

running YTD = calculate(sum('Gift Export'[Gift Amount]),DATESYTD(Dates[Dates],"07/31"))


The year will now start 1 August

Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

RE: Cumulative Giving

Hi Jens,

perfect! Thank you

 

Training courses

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Power BI tip:

Master the Power BI Custom Visuals

Power BI offers a variety of custom visuals created by the community and Microsoft. Explore these visuals to enhance your reports and dashboards. Whether it's a custom map, a timeline, or a unique chart type, custom visuals can add significant value to your visualizations.

View all Power BI hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.