Forum Discussion
week over week but same day comparison
PattemManohar I like what you did though. My original data table I was showing what I wanted to be able to get to in the solution. Sorry about that.
They are 2 different tables. I have a date table and the case table and have related them.
- electrobrit7 years ago
Post Patron
PattemManohar thank you so much, sorry for being vague. Maybe this is why I'm having trouble with this calculation!
I have a date table and a case table with with a date (Date of Case Creation) which is how the tables are related
DateTable(Date) and CaseTable(CaseCreated)
So you are saying to just use that CaseCreated date?- PattemManohar7 years ago
Community Champion
electrobrit Yes please, I don't see any reason why you can't use the Date field in Case Table which will solve your problem doing so. Give a try with that and lets see if you have any issues.- electrobrit7 years ago
Post Patron
CaseClosurePrevWeek=LOOKUPVALUE(VW_Cases[Duration_Days],VW_Cases[CaseCreatedOn],DATEADD(VW_Cases[CaseCreatedOn],-7,DAY))
getting the same error. "A table of multiple values was supplied where a single value was expected".any thoughts and thanks, you've been helpful!!!