Margin Comparison XBRL API
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

View only
 
 
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARAS
1
Use the File menu to 'Make a copy...' in your Google account, then authorize the XBRL API Access Add-on and change the ticker(s) to return data.This template calculates net margin for companies from as-filed SEC data returned from the XBRL US Database of Public Filings, based on paramters for time, total revenue, P/L completed in cells B4 - B7 and tickers listed in Row 8. The initial tickers are energy companies and US GAAP elements for Regulated and Unregulated Operating Revenue and Electrical Generation Revenue were included in this screen because these are commonly used by entities in this industry to report Total Revenues. Period filters include 1Q, 2Q, 1H, 3Q, 3QCUM, 4Q, and Y.

The queries for the first ticker are displayed in rows 40 - 43, and each of the subsequent tickers is modeled on these queries, with the =index() formula used to display data without the corresponding header detail from the database. Pivot tables summarize the returned data and margin calculations graphically.

The Margin Time Series tab uses the data from the first ticker (column B) of the Net Margin tab by default. Variables are predefined for reporting periods and duration (as well as EPS concepts from US GAAP). To evaluate a completely different company, use the "Overrides" section to enter a ticker in cell B20 and/or define Revenue and Income/Loss elements as needed.
2
Net Margin Comparison / Time Series
3
ParameterValue
4
PeriodY
5
Year2017
6
Revenue ElementsRevenues,SalesRevenueNet,SalesRevenueServicesNet,RegulatedAndUnregulatedOperatingRevenue,ElectricalGenerationRevenue
7
Net Income Loss ElementsNetIncomeLoss,ProfitLoss,NetIncomeLossAvailableToCommonStockholdersBasic
8
Tickers >>AAEAVAEDDUKAQNPCGXELSCGAEPCNPDYN
9
Tickers >>AVAEDDUKAQNPCGXELSCGAEPCNPDYNAEE
10
if data does not initially populate in rows 14-23, highlight/copy row 9 and 'paste special' > 'paste values only' into row 8
11
Net Margin Comparison Data
12
Logo#REF!#REF!#REF!#REF!#REF!#REF!#REF!#REF!#REF!#REF!#REF!
13
14
CIK#N/A0000104918000104786200013261600001174169000100498000000729030000754737000000490400011303100001379895
17
Website#REF!#REF!#REF!#REF!#REF!#REF!#REF!#REF!#REF!#REF!#REF!
18
Company#REF!#REF!#REF!#REF!#REF!#REF!#REF!#REF!#REF!#REF!#REF!
19
Revenues#ERROR!#ERROR!#ERROR!#ERROR!#ERROR!#ERROR!#ERROR!#ERROR!#ERROR!#ERROR!#ERROR!
20
Net Income Loss#ERROR!#ERROR!#ERROR!#ERROR!#ERROR!#ERROR!#ERROR!#ERROR!#ERROR!#ERROR!#ERROR!
21
Net Margin#ERROR!#ERROR!#ERROR!#ERROR!#ERROR!#ERROR!#ERROR!#ERROR!#ERROR!#ERROR!#ERROR!
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
cell B15 dts.id (hidden)#N/A
42
cell B16 concept.namespace (hidden)
#ERROR!
43
cell B19 Revenues#N/A
44
cell B20 Net Income Loss#N/A
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
Loading...
Main menu