[{"id":"67b2b95f-f683-4673-9e3f-044c49b2a7f3","tags":[{"name":"upd","color":"#7e678a","productId":"486064ee-5a7c-4d44-b127-1e19810242b2","links":null,"id":"7fcf2480-6c1f-4a24-a5be-35a201d1532b"}]},{"id":"acab1450-345b-4d79-a421-187baa24391b","tags":[{"name":"upd","color":"#7e678a","productId":"486064ee-5a7c-4d44-b127-1e19810242b2","links":null,"id":"7fcf2480-6c1f-4a24-a5be-35a201d1532b"}]},{"id":"75c9ea99-cd27-4e93-ba23-1a432ed2b12f","tags":[{"name":"upd","color":"#7e678a","productId":"486064ee-5a7c-4d44-b127-1e19810242b2","links":null,"id":"7fcf2480-6c1f-4a24-a5be-35a201d1532b"}]},{"id":"43797034-f596-4394-b1d0-33bc526cfba3","tags":[{"name":"New","color":"#ed7422","productId":"486064ee-5a7c-4d44-b127-1e19810242b2","links":null,"id":"27b05819-810b-4ea2-b5ea-2857947ce8be"}]},{"id":"0e8c9020-034a-45be-991e-37188b39617b","tags":[{"name":"New","color":"#ed7422","productId":"486064ee-5a7c-4d44-b127-1e19810242b2","links":null,"id":"27b05819-810b-4ea2-b5ea-2857947ce8be"}]},{"id":"ab34db23-548a-41c6-b58b-517b1187b49c","tags":[{"name":"New","color":"#ed7422","productId":"486064ee-5a7c-4d44-b127-1e19810242b2","links":null,"id":"27b05819-810b-4ea2-b5ea-2857947ce8be"}]},{"id":"1c11391d-eee8-4d4d-bb79-568bbb017981","tags":[{"name":"New","color":"#ed7422","productId":"486064ee-5a7c-4d44-b127-1e19810242b2","links":null,"id":"27b05819-810b-4ea2-b5ea-2857947ce8be"}]},{"id":"6f75d947-a185-4b2e-b2ac-59ce51a75059","tags":[{"name":"New","color":"#ed7422","productId":"486064ee-5a7c-4d44-b127-1e19810242b2","links":null,"id":"27b05819-810b-4ea2-b5ea-2857947ce8be"}]},{"id":"7846cdd1-836b-4043-9f80-8fd82a66c747","tags":[{"name":"New","color":"#ed7422","productId":"486064ee-5a7c-4d44-b127-1e19810242b2","links":null,"id":"27b05819-810b-4ea2-b5ea-2857947ce8be"}]},{"id":"615b3ec7-a7af-4163-9d5d-92d540416ce8","tags":[{"name":"upd","color":"#7e678a","productId":"486064ee-5a7c-4d44-b127-1e19810242b2","links":null,"id":"7fcf2480-6c1f-4a24-a5be-35a201d1532b"}]},{"id":"bb600617-59cf-49b3-a718-9c4372065955","tags":[{"name":"New","color":"#ed7422","productId":"486064ee-5a7c-4d44-b127-1e19810242b2","links":null,"id":"27b05819-810b-4ea2-b5ea-2857947ce8be"}]},{"id":"4f511fcc-370e-4f45-8ff9-9df6b7d41faf","tags":[{"name":"New","color":"#ed7422","productId":"486064ee-5a7c-4d44-b127-1e19810242b2","links":null,"id":"27b05819-810b-4ea2-b5ea-2857947ce8be"}]},{"id":"34a7a849-27bc-4bbf-8790-b6fcef7c9247","tags":[{"name":"New","color":"#ed7422","productId":"486064ee-5a7c-4d44-b127-1e19810242b2","links":null,"id":"27b05819-810b-4ea2-b5ea-2857947ce8be"}]},{"id":"c37d9457-4cf0-43c1-a77f-ccf2baa9920a","tags":[{"name":"New","color":"#ed7422","productId":"486064ee-5a7c-4d44-b127-1e19810242b2","links":null,"id":"27b05819-810b-4ea2-b5ea-2857947ce8be"}]},{"id":"a7dd7d88-788d-4640-80a8-d5308b2629eb","tags":[{"name":"New","color":"#ed7422","productId":"486064ee-5a7c-4d44-b127-1e19810242b2","links":null,"id":"27b05819-810b-4ea2-b5ea-2857947ce8be"}]},{"id":"95caf1c9-ae91-4f54-b77c-fe135dea7e4a","tags":[{"name":"New","color":"#ed7422","productId":"486064ee-5a7c-4d44-b127-1e19810242b2","links":null,"id":"27b05819-810b-4ea2-b5ea-2857947ce8be"}]}]
        
(Showing Draft Content)

기타 함수

Lookup

지정한 데이터 집합에서 지정한 필드의 맨 처음 일치하는 값을 반환합니다.


구문


Lookup(source, destination, result, dataset)


인수

  • source - 현재 범위에서 평가하고 조회할 키를 지정하는 식입니다.

  • destination - 데이터 집합의 각 행에 대해 평가하고 일치시킬 열을 지정하는 식입니다.

  • result - 데이터 집합의 행에 대해 평가하고(여기서 source = destination) 반환할 값을 지정하는 식입니다.

  • dataset - 보고서에서 데이터 집합의 이름을 나타내는 문자열입니다.

예시


표 형식 보고서 시작하기 데모에서는 다음 식을 사용하여 Products 데이터 집합에 바인딩된 표 내의 Categories 데이터 집합에서 범주 이름을 표시합니다.

{Lookup(categoryId, categoryId, categoryName, "Categories")}

LookupSet

지정한 데이터 집합에서 지정한 필드의 일치하는 값을 모두 반환합니다.


구문


LookupSet(source, destination, result, dataset)


인수

  • source - 현재 범위에서 평가하고 조회할 키를 지정하는 식입니다.

  • destination - 데이터 집합의 각 행에 대해 평가하고 일치시킬 열을 지정하는 식입니다.

  • result - 데이터 집합의 행에 대해 평가하고(여기서 source = destination) 반환할 값을 지정하는 식입니다.

  • dataset - 보고서에서 데이터 집합의 이름을 나타내는 문자열입니다.

예시


다음 식을 사용하여 현재 범위의 TerritoryID 값을 사용하여 모든 매장을 찾을 수 있습니다.

{LookupSet(TerritoryID, TerritoryID, StoreName, "Stores")}

Previous

지정한 범위 내 항목의 이전 인스턴스에서 지정한 식의 값을 반환합니다.


구문


Previous(expression, [```scope```])


인수

  • expression - 요약 값을 계산할 식

  • scope - 선택적 계산 범위

예시


다음 식을 사용하여 현재 범위 내 SalesCount 필드의 이전 값을 반환할 수 있습니다.

{Previous(SalesCount)}

RowNumber

지정한 범위에서 행의 실행 개수를 반환합니다.


구문


RowNumber([```scope```])


인수

  • scope - 선택적 계산 범위

Join

배열에 포함된 하위 문자열을 조인하여 만든 문자열을 반환합니다.


구문


Join(sourcearray, [ ```delimiter``` ])


인수

  • sourcearray - 조인할 문자열을 포함한 배열입니다.

  • delimiter - 반환된 문자열에서 하위 문자열을 구분하는 선택적 문자입니다. 생략하면 공백 문자(" ")가 사용됩니다.

예시


다음 식을 사용하면 현재 CategoryID 값을 사용하여 범주에서 제품 목록을 표시할 수 있습니다.

{Join(LookupSet(CategoryId, CategoryId, ProductName, "Products"), ",")}

IndexOf

Returns the first index at which a given element can be found in the array or string, or -1 if it is not present.

Syntax

IndexOf(source, searchElement)

Arguments

  • source – the source where the IndexOf function will search for the element. The source can be an array or a string. If the source is an array, the method will search for the element among the elements of the array. If the source is a string, the method will search for the element among the characters of the string.

  • searchElement – the element that the method will search for in the source.

Examples

The following expression determines if the current value of the ContinentName field is contained in the value of the multi-value parameter pContinent.

{IndexOf(@pContinent, ContinentName) >= 0}

Partition

계산된 일련의 범위 내에서 숫자가 발생하는 지점을 나타내는 문자열을 반환합니다.


구문


Partition(number, start, stop, interval)


인수

  • number - 범위에 대해 평가하려는 숫자입니다.

  • start - 전체 숫자 범위가 시작되는 숫자입니다. 이 숫자는 0보다 작을 수 없습니다.

  • stop - 전체 숫자 범위가 끝나는 숫자입니다. 이 숫자는 start보다 작거나 같을 수 없습니다.

  • interval - 한 범위와 다음 범위 사이 차이를 나타내는 숫자입니다. 이 숫자는 1보다 작을 수 없습니다.

예시


다음 식을 사용하여 Freight 필드의 현재 값이 속하는 범위를 표시할 수 있습니다.

{Partition(Freight, 0, 500, 50)}

Level

Returns the current level of depth in a recursive hierarchy

Syntax

Level([scope])

Arguments

  • scope - the optional calculation scope.

Examples

The Interactive Hierarchy demo uses the following expression for the left padding of a textbox that displays the Store Name.

{CStr(Level() * 12 + 12)}pt


X

카카오톡 채널 추가를 통해 GrapeCity의 최신 정보를 빠르게 받아 보세요!