Power BI Connector for Azure Data Management

Build 20.0.7587

Aggregate Functions

COUNT

Returns the number of rows matching the query criteria.

SELECT COUNT(*) FROM Subscriptions WHERE SubscriptionId = 'fadc4-4cdaf-fadc4-4cdaf'

COUNT(DISTINCT)

Returns the number of distinct, non-null field values matching the query criteria.

SELECT COUNT(DISTINCT DisplayName) AS DistinctValues FROM Subscriptions WHERE SubscriptionId = 'fadc4-4cdaf-fadc4-4cdaf'

AVG

Returns the average of the column values.

SELECT AuthorizationSource, AVG(SubscriptionSpendingLimit) FROM Subscriptions WHERE SubscriptionId = 'fadc4-4cdaf-fadc4-4cdaf'  GROUP BY AuthorizationSource

MIN

Returns the minimum column value.

SELECT MIN(SubscriptionSpendingLimit), AuthorizationSource FROM Subscriptions WHERE SubscriptionId = 'fadc4-4cdaf-fadc4-4cdaf' GROUP BY AuthorizationSource

MAX

Returns the maximum column value.

SELECT AuthorizationSource, MAX(SubscriptionSpendingLimit) FROM Subscriptions WHERE SubscriptionId = 'fadc4-4cdaf-fadc4-4cdaf' GROUP BY AuthorizationSource

SUM

Returns the total sum of the column values.

SELECT SUM(SubscriptionSpendingLimit) FROM Subscriptions WHERE SubscriptionId = 'fadc4-4cdaf-fadc4-4cdaf'

Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7587