{ FIXED : MIN(ABS([Select an ID] - [ID]))}
上記の計算では、詳細レベル (LOD) 関数 FIXED を使用して、選択した [Select an ID (ID の選択)] の値と、データ セット全体のデータ セット値 [ID] の最小絶対値差を返します。
IF [ID] = [Select an ID]
THEN [ID]
ELSEIF ABS([Select an ID] - [ID]) = [Smallest Difference]
THEN [ID]
END
上記の IF ステートメントは、ユーザーの選択に一致する値がある場合、[ID] のデータ セット値を返します。一致する値がない場合、IF ステートメントは、絶対差がデータ セット全体で最小絶対差と一致する [ID] の値を返します。
{ FIXED : MIN(
IF [ID] = [Select an ID]
THEN [ID]
ELSEIF ABS([Select an ID] - [ID]) = [Smallest Difference]
THEN [ID]
END
)}
001458092
12 KB

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.