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
Year2020
6
Revenue ElementsRevenues,SalesRevenueNet,SalesRevenueServicesNet,RegulatedAndUnregulatedOperatingRevenue,ElectricalGenerationRevenue
7
Net Income Loss ElementsNetIncomeLoss,ProfitLoss,NetIncomeLossAvailableToCommonStockholdersBasic
8
Tickers >>avaedevrgpegxelcmseogfslrsedgplugcwen
9
Tickers >>avaedevrgpegxelcmseogfslrsedgplugcwen
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
13
14
CIK00001049180001047862000171126900007887840000072903000081115600008211890001274494000141961200010936910001637757
18
CompanyAVISTA CORPORATIONConsolidated Edison, Inc.EVERGY, INC.Public Service Enterprise Group IncorporatedXcel Energy Inc.CMS ENERGY CORPORATIONEOG RESOURCES, INC.First Solar, Inc.SOLAREDGE TECHNOLOGIES, INC.PLUG POWER INCClearway Energy LLC
19
Revenues$1,321,891,000$12,269,000,000$4,913,400,000$9,603,000,000$11,526,000,000$6,418,000,000$11,032,000,000$2,711,332,000$1,459,271,000-$93,237,000$1,199,000,000
20
Net Income Loss$129,488,000$1,101,000,000$630,000,000$1,905$1,473,000,000$752,000,000-$11,653,000,000$398,355,000$140,322,000-$596,200,000-$52,000,000
21
Net Margin9.80%8.97%12.82%0.00%12.78%11.72%-105.63%14.69%9.62%639.45%-4.34%
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)https://api.xbrl.us/api/v1/report/search?&entity.cik=0000104918&fields=dts.id
42
cell B16 concept.namespace (hidden)https://api.xbrl.us/api/v1/report/search?&dts.id=782495&fields=report.entity-name
43
cell B19 Revenueshttps://api.xbrl.us/api/v1/fact/search?&concept.local-name=Revenues,SalesRevenueNet,SalesRevenueServicesNet,RegulatedAndUnregulatedOperatingRevenue,ElectricalGenerationRevenue&period.calendar-period=Y&period.year=2020&entity.cik=0000104918&fact.ultimus-index=1&dimensions.count=0&fields=fact.numerical-value
44
cell B20 Net Income Losshttps://api.xbrl.us/api/v1/fact/search?&concept.local-name=NetIncomeLoss,ProfitLoss,NetIncomeLossAvailableToCommonStockholdersBasic&period.calendar-period=Y&period.year=2020&entity.cik=0000104918&fact.ultimus-index=1&dimensions.count=0&fields=fact.numerical-value
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
103