최근 검색
최근 검색 없음

Adam Wideman
가입한 날짜: 2021년 5월 16일
·
마지막 활동: 2021년 10월 16일
팔로잉
0
팔로워
0
총 활동 수
2
투표 수
0
가입 플랜
1
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 Adam Wideman
Adam Wideman님이 에 댓글을 입력함
I'm not sure if I'm doing this totally correct or if I need to make a whole different set of custom metrics to pull this off, but I'm trying to add some custom fields to my Organizations for "Service Agreements". Each agreement, of which there are 3 for each organization possible, would have a "Contract Number", "Hours Purchased", and a "Contract Value". I need to pull in Hours Purchased and Contract Number in order to run a query against how many "hours billed" against the "Hours Purchased". I've been able to do this easily with just one contract, but now its causing some erroneous data when we have multiple contracts involved. SO I want a field thats SUPER smart. I need one that knows to show hours purchased relevant to which Contract Number is used. The matching field is called "Ticket Sage Reference" (also custom) and lives in the ticket. I want to say something like
IF ([Ticket Sage Reference]=VALUE(ContractNumber))
THEN 1
ELSE IF ([Ticket Sage Reference]=VALUE(ContractNumber2))
THEN 2
ELSE IF ([Ticket Sage Reference]=VALUE(ContractNumber3))
THEN 3
ENDIF
Then one that would ACTUALLY display the content
IF ([CustomMetric]=1)
THEN VALUE(ContractNumber1)
ELSE IF ([CustomMetric]=2)
THEN VALUE(ContractNumber2)
ELSE IF ([CustomMetric]=3)
THEN VALUE(ContractNumber3)
ENDIF
I'm terrible with functions, please send help . I think I may even be at the point where I may even pay Zendesk to write this for me, but wanted to see if anyone could steer me in the right direction before i did that.
댓글 보기 · 2021년 4월 12일에 게시됨 · Adam Wideman
0
팔로워
0
투표 수
0
댓글