The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
Oscar
2 years agoContributor
Current Quarter v Prior Quarter BI Viewer - A Summary Expression is Expected
Hi All-
We are trying to create a BI Viewer to compare Current v Previous Qtr OPEX.
We look at the end date (only two end dates possible of course) to create a Current QTR measure (max end date) as below. However, I can't seem to get the syntax for the measure correct. Not sure what I am missing which is generating the error below: A Summary Expression is Expected
2 Replies
- JackLacava
OneStream Employee
You're comparing a string or date [EndDate] with the True/false returned by [Scenario] == 'Actual'. I suspect you want something more like
If( ([EndDate] == max([EndDate]) ) and ([Scenario] == 'Actual') , [Amount], 0)This said, I don't remember if that Max() operations will actually work like you expect it to, nor whether you can actually use == like that.
- OscarContributor
Thank you for the reply ... I will attempt a different approach to group the data.
Related Content
- 2 years ago