Forum Discussion
week over week but same day comparison
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!!!
- electrobrit7 years ago
Post Patron
it would have duplicate values because multiple cases are created on any given date. I apologize that table is confusing, that's not the data, it was to conceptualize the result I needed.
Any thoughts on going back to using the DATE table, this contains no dups. OR SUGGESTIONS?
PattemManohar - PattemManohar7 years ago
Community Champion
electrobrit I would like to see your data model and also the table structure of case table or please provide the exact sample data to replicate your issue. - electrobrit7 years ago
Post Patron
PattemManohar
I can't thank you enough. I'm sure I'm learning something big here but I have spent so much time and still no avail.
Attached or via link is a sample pbix report with similar data.
Sample pbixAgain, thank you in advance.
- electrobrit7 years ago
Post Patron
PattemManohar did you have any feedback?