Forum Discussion

learning_dax's avatar
learning_dax
Helper II
4 years ago

YTD & Week over Week

Hi all, 

I am trying to show Week over Week % changes & Fiscal YTD running total changes, week over week. However, instead of showing a table I am trying to show it in a Zebra BI card, as shown in the picture below because it consolidates both values into one & returns value/% difference all in one place. 

I am simply taking a COUNT of "Start Date" which is the date a candidate starts working on a task. However, the fiscal year aspect of the calculation and them being measures makes it hard to filter/conceptualize for me as I normally do these types of calculations in a matrix/table. Here are my formulas below that have not worked:

(I believe both below were close to working but they are returning that week's values but for differnt years 2021 AND 2022)
ThisWeekStarts(TW) = CALCULATE([STARTCOUNT],'DATE'[WEEK OF YEAR] = WEEKNUM(TODAY(),1))

LASTWEEKSTARTS(LW) = CALCULATE([STARTCOUNT],'DATE'[WEEK OF YEAR] = WEEKNUM(TODAY(),1) -1)

(I think this solved my issue of fiscal YTD Starts but not sure and still doesn't solve for showing the growth percentage between this week's fiscal running total compared to last weeks)
FISCAL_RUNNINGTOTAL = CALCULATE[STARTCOUNT],DATESYTD('DATE'[DATE],"31/5"))

Any advice/suggestions help as I am trying to learn PowerBI and time intelligence is proving to be the most difficult part in that path. 


Thank you

2 Replies