-
1. Re: Trying to get different data from worklog and multiple rows for each item,
Shreyas Swamy Jun 23, 2019 10:46 PM (in response to bertrand balenguele)If each type of Note is unique for an entry, then encapsulating your calculated field using MAX() would do the trick.
i.e.
MAX (CASE WHEN .... ELSE .... END)
-
2. Re: Trying to get different data from worklog and multiple rows for each item,
bertrand balenguele Jun 24, 2019 7:15 AM (in response to Shreyas Swamy)Hi Swamy,
Thank you for this feedback,
MAX() do not work with text field, I get an error when I tried your solution,
Regards,
Bertrand,
-
3. Re: Trying to get different data from worklog and multiple rows for each item,
Joseph Ruiz Jun 24, 2019 7:59 AM (in response to bertrand balenguele)I believe there is a known error with the current version of smart reporting when trying to use Max() on anything other than a number.
-
4. Re: Trying to get different data from worklog and multiple rows for each item,
Shreyas Swamy Jun 24, 2019 11:27 AM (in response to bertrand balenguele)Please check with BMC on the same, as the version that we are using supports such use case with text fields too.
-
5. Re: Trying to get different data from worklog and multiple rows for each item,
Sinisa MikorJul 23, 2019 11:34 AM (in response to bertrand balenguele)
1 of 1 people found this helpfulIs it possible to have more than one note of the same type attached to the same incident? That would complicate matters.
Otherwise, if you define separate calculated fields for each type of note using something like MAX (CASE WHEN Note type = <note type> THEN 1 ELSE 0 END), you should be able to use them to decide whether to show contents of appropriate note or use placeholder for unused note.