Forum Discussion
YoY Calculation for non cumulative data
Hi,
First time poster so apologies if this is in the wrong place.
I have annual data which is defined at source as academic years (15/16, 16/17 etc) and Ive added a lookup to convert these to dates i.e 31 December year ends. I've created a simple date table and would like to be able to look at the movements (actual/%) between years for individual institutions.
Ive added the measures below, which do work, but the Total provider income is always the cumulative total for all years. If i set a filter for one of the years (i.e 2020), i get the correct Total provider income, but then the PY data/diff is blank as I assume it is only looking at data under the filter set.
I'm likely missing something quite straightforward here so was hoping to get some advice? I just want to be able to compare/look at trends between individual years (periods) and not cumulatively.
Measures:
-You needed to create the relationship in the model between Year Lookup table and DateTable.
Regards
Kumail Raza
Did this help? Kudos are appreciated.
Consider Accept it as the solution to help the other members find it more quickly.
7 Replies
- amitchandakSuper User
tashaq , Need sample data. But I think My blog on similar topic can help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
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-Convert-to/ba-p/1476400
Distributing/Allocating the Yearly Target(Convert to Daily Target): https://community.powerbi.com/t5/Community-Blog/Distributing-Allocating-the-Yearly-Target-Convert-to-Daily/ba-p/1463290
- tashaqRegular Visitor
Still struggling - can anyone help with this please or have any thoughts?
- tashaqRegular Visitor
Hi,
Ive simplified and added a sample file pbix below. As mentioned, Id like to be able to include YoY comparisons looking at standalone historical periods and not cumulative totals.
Many thanks in advance.
https://www.dropbox.com/s/zi46j3t72qri0pe/Sample%20YoY%20File.pbix?dl=0
- KumailImpactful Individual
Hello tashaq
The file is attached in the URL below for your reference.
https://drive.google.com/file/d/1IjgpKKVHXhdI8LQ9yddr5ZIR3svP7VdG/view?usp=sharing
Regards
Kumail Raza
Did this help? Kudos are appreciated
Consider Accept it as the solution to help the other members find it more quickly