Power BI Connector for Email

Build 24.0.9062

集計関数

COUNT

クエリ条件に一致する行の数を返します。

SELECT COUNT(*) FROM [INBOX] WHERE Subject = 'Test'

COUNT

クエリ条件に一致する行の数を返します。

SELECT COUNT(AnnualRevenue) FROM [INBOX] WHERE Subject = 'Test'

COUNT(DISTINCT)

クエリ条件に一致する、null 以外の個別のフィールド値の数を返します。

SELECT COUNT(DISTINCT From) AS DistinctValues FROM [INBOX] WHERE Subject = 'Test'

AVG

カラムの値の平均を返します。

SELECT Subject, AVG(AnnualRevenue) FROM [INBOX] WHERE Subject = 'Test'  GROUP BY Subject

MIN

カラムの値の最小値を返します。

SELECT MIN(AnnualRevenue), Subject FROM [INBOX] WHERE Subject = 'Test' GROUP BY Subject

MAX

カラムの値の最大値を返します。

SELECT Subject, MAX(AnnualRevenue) FROM [INBOX] WHERE Subject = 'Test' GROUP BY Subject

SUM

カラムの値の合計を返します。

SELECT SUM(AnnualRevenue) FROM [INBOX] WHERE Subject = 'Test'

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062