Skip to content

Commit fc90399

Browse files
authored
Merge pull request #181016 from dannyevers/59908-list-system-queries
Added the Revenue report query section
2 parents e8890c3 + 2a907bc commit fc90399

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

articles/marketplace/analytics-system-queries.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn about system queries you can use to programmatically get anal
44
ms.service: marketplace
55
ms.subservice: partnercenter-marketplace-publisher
66
ms.topic: article
7-
ms.date: 08/06/2021
7+
ms.date: 12/03/2021
88
author: smannepalle
99
ms.author: smannepalle
1010
ms.reviewer: sroy
@@ -87,6 +87,16 @@ The following sections provide report queries for various reports.
8787

8888
`Date,OfferName,ReferralDomain,CountryName,PageVisits,GetItNow,ContactMe,TestDrive,FreeTrial FROM ISVMarketplaceInsights TIMESPAN LAST_6_MONTHS`
8989

90+
## Revenue report query
91+
92+
**Report description**: Revenue report for the last 6M
93+
94+
**QueryID**: `6fd7624b-aa9f-42df-a61d-67d42fd00e92`
95+
96+
**Report query**:
97+
98+
`SELECT AssetId,SalesChannel,BillingAccountId,CustomerCity,CustomerCompanyName,CustomerCountry,CustomerEmail,CustomerId,CustomerName,CustomerState,EarningAmountCC,EarningAmountPC,EarningAmountUSD,EarningCurrencyCode,EarningExchangeRatePC,EstimatedPayoutMonth,Revenue,EstimatedRevenuePC,EstimatedRevenueUSD,ExchangeRateDate,ExchangeRatePC,ExchangeRateUSD,PayoutStatus,IncentiveRate,TrialDeployment,LineItemId,MonthStartDate,OfferName,OfferType,PaymentInstrumentType,PaymentSentDate,PurchaseRecordId,Quantity,SKU,TermEndDate,TermStartDate,TransactionAmountCC,TransactionAmountPC,TransactionAmountUSD,BillingModel,Units FROM ISVRevenue TIMESPAN LAST_6_MONTHS`
99+
90100
## Next steps
91101

92102
- [APIs for accessing commercial marketplace analytics data](analytics-available-apis.md)

0 commit comments

Comments
 (0)