View's Calculated Fields
Answered
Hi,
I want to query the repository in order to retrieve all the view's calculated fields (not necessarily being used in reports).
i tried the following query with no luck:
SELECT *
FROM dbo.ReportFieldTemplate
WHERE ViewId = 3470127
AND FieldTemplateId NOT IN ( SELECT FieldTemplateId
FROM dbo.ReportField )
AND RefRltshpTypeCode = 'CALCFIELDSIMPLE'
Thanks!
Hi Tal and Dor,
I was able to accomplish this with this query:
I also realized that in the query I sent you yesterday (what calc fields are not in use), you will want to include the IN clause of this field so that pre-defined calc fields and freehand SQL calc fields are included as well.. I will update that ticket appropriately.
Please let me know if this works for you.
Regards,
Nathan
Hi Tal and Dor,
I was able to accomplish this with this query:
I also realized that in the query I sent you yesterday (what calc fields are not in use), you will want to include the IN clause of this field so that pre-defined calc fields and freehand SQL calc fields are included as well.. I will update that ticket appropriately.
Please let me know if this works for you.
Regards,
Nathan
Hi Tal,
I am going to set this ticket to closed for now, but if there is anything else I can do to help here, please just let me know and the case will be re-opened!
Regards,
Nathan
Hi Tal,
I am going to set this ticket to closed for now, but if there is anything else I can do to help here, please just let me know and the case will be re-opened!
Regards,
Nathan
Replies have been locked on this page!