[{"data":1,"prerenderedAt":700},["ShallowReactive",2],{"guide:en:kwh-counter-consumption-report":3},{"article":4,"slugs":698},{"id":5,"title":6,"articleKey":7,"body":8,"description":685,"extension":686,"image":495,"meta":687,"navigation":688,"order":689,"path":690,"productVersion":691,"publishedAt":692,"readingMinutes":693,"seo":694,"stem":695,"summary":696,"updatedAt":692,"__hash__":697},"guides_en\u002Fkwh-counter-consumption-report.md","Daily and monthly consumption reports from a kWh counter","kwh-consumption-report",{"type":9,"value":10,"toc":669},"minimark",[11,15,18,23,31,78,87,92,98,109,120,124,183,189,208,212,215,238,245,259,263,266,329,336,340,343,360,377,384,398,408,412,431,434,487,513,520,524,533,577,591,595,619,622,663,666],[12,13,14],"p",{},"An energy counter holds a single number, and that number only goes up. The answer to \"how much did we use yesterday?\" is not in the counter itself; it is in the difference between two readings. In this guide we derive daily and monthly consumption from the archive of a kWh counter, compare periods with the previous period and export the result.",[12,16,17],{},"The screens use the two energy analyzers (TR1 and TR2) of the sample project that comes with a new installation. The steps are the same for your own counter.",[19,20,22],"h2",{"id":21},"before-you-start-the-counters-log","Before you start: the counter's log",[12,24,25,26,30],{},"Consumption is calculated from the counter's archive records. This needs a log definition on the counter tag, and in that definition the information that the counter is ",[27,28,29],"strong",{},"Cumulative",":",[32,33,34,52,60],"ul",{},[35,36,37,40,41,44,45,40,48],"li",{},[27,38,39],{},"Log Type:"," ",[27,42,43],{},"Cyclic",", ",[27,46,47],{},"Interval[s]:",[49,50,51],"code",{},"60",[35,53,54,40,57],{},[27,55,56],{},"Log Value Type:",[27,58,59],{},"Current",[35,61,62,63,66,67,40,70,44,72,40,75],{},"In the ",[27,64,65],{},"Consumption & Run\u002FStop"," step, ",[27,68,69],{},"Consumption Value Type:",[27,71,29],{},[27,73,74],{},"Unit:",[49,76,77],{},"kWh",[12,79,80,81,86],{},"We describe the log definition step by step in step 5 of ",[82,83,85],"a",{"href":84},"\u002Fen\u002Fguides\u002Fenergy-analyzer-modbus-tcp","Adding an energy analyzer to SCADA over Modbus TCP",". The report covers only the time after the log started recording; no consumption is produced for the time before.",[88,89,91],"h3",{"id":90},"how-consumption-is-calculated","How consumption is calculated",[12,93,94,95,97],{},"For a ",[27,96,29],{}," log, the consumption of a period is the sum of the increases between consecutive records:",[32,99,100,103,106],{},[35,101,102],{},"The calculation starts with the last record before the period. This way the increase between the last record of one period and the first record of the next is counted as well.",[35,104,105],{},"If a record is smaller than the previous one (the counter was reset or replaced), that step counts as 0; no negative consumption appears.",[35,107,108],{},"If a period has no records, the value of that period stays empty.",[12,110,111,112,115,116,119],{},"The same rule is used on the ",[27,113,114],{},"Consumptions"," screen, in the ",[27,117,118],{},"Consumption Pivot"," and for consumption values on pages; for the same counter and period they all give the same result.",[19,121,123],{"id":122},"1-daily-consumption","1. Daily consumption",[125,126,127,134,149,163,177],"ol",{},[35,128,129,130,133],{},"Open ",[27,131,132],{},"History > Consumptions"," from the left menu.",[35,135,136,137,140,141,144,145,148],{},"Click the ",[27,138,139],{},"Chart Settings"," button on the chart toolbar. On the ",[27,142,143],{},"Tag Selection"," tab, select the counter tag and the log definition and click ",[27,146,147],{},"Ok",". You can select more than one counter.",[35,150,62,151,154,155,158,159,162],{},[27,152,153],{},"Filters"," section, select ",[27,156,157],{},"Last Month"," as the ",[27,160,161],{},"Date range",".",[35,164,165,166,158,169,172,173,176],{},"Select ",[27,167,168],{},"Day",[27,170,171],{},"Consumption Period"," and keep ",[27,174,175],{},"Align To Calendar"," on.",[35,178,179,180,162],{},"Click ",[27,181,182],{},"Update",[12,184,185,186,188],{},"One column appears per day; each series has a dashed line that shows its average. With ",[27,187,175],{}," on, days start at midnight. With it off, periods start from the first record in the range and do not match calendar days; keep it on for daily and monthly reports.",[190,191,192,202],"showcase-shot",{},[12,193,194],{},[195,196],"img",{"alt":197,"height":198,"loading":199,"src":200,"width":201},"Consumptions screen: Date range Last Month (October 1–31, 2026), Consumption Period Day, Align To Calendar on; the series TR1 and TR2 Aktif Enerji Tüketimi as daily columns, each with its average line (753.18 and 1,050.6); the chart is zoomed to the last days of the month",1744,"lazy","\u002Fimages\u002Fguides\u002Fen\u002Ftuketimler-gunluk.png",2252,[12,203,204,205,207],{},"Screenshot: 2Win Scada 2.11.5, ",[27,206,114],{},"; daily consumption of the sample project's two analyzers in October 2026. The chart shows the last days of the month; the strip below moves to the other days of the month. The consumption history is sample data generated for the screenshot; the series names are the sample project's Turkish tag descriptions.",[19,209,211],{"id":210},"2-monthly-consumption","2. Monthly consumption",[12,213,214],{},"Change two settings on the same screen:",[125,216,217,228],{},[35,218,165,219,222,223,158,226,162],{},[27,220,221],{},"This Year"," or ",[27,224,225],{},"Last 3 Months",[27,227,161],{},[35,229,165,230,158,233,235,236,162],{},[27,231,232],{},"Month",[27,234,171],{}," and click ",[27,237,182],{},[12,239,240,241,244],{},"Months start on the first day of the month. The ",[27,242,243],{},"Table view"," button on the toolbar shows the same result as a table: the start of the period on the left, next to it the period consumption of each counter. Mind two points when reading the summary rows below the table:",[32,246,247,253],{},[35,248,249,252],{},[27,250,251],{},"Total"," is the total consumption in the selected range.",[35,254,255,258],{},[27,256,257],{},"Diff"," is the difference between the consumption of the last and the first period; it is not the total consumption.",[19,260,262],{"id":261},"3-reading-the-periods","3. Reading the periods",[12,264,265],{},"A low column does not always mean low consumption. Tell three cases apart:",[267,268,269,285],"table",{},[270,271,272],"thead",{},[273,274,275,279,282],"tr",{},[276,277,278],"th",{},"Case",[276,280,281],{},"What you see",[276,283,284],{},"Meaning",[286,287,288,304,315],"tbody",{},[273,289,290,294,297],{},[291,292,293],"td",{},"Partial period",[291,295,296],{},"The first or last column is shorter than the others",[291,298,299,300,303],{},"The range does not fall on a period boundary. In the ",[27,301,302],{},"Today"," range, today's value is the consumption so far; the current month is not finished either.",[273,305,306,309,312],{},[291,307,308],{},"Data gap",[291,310,311],{},"An empty column or a value lower than expected",[291,313,314],{},"Records are missing in that period: the device was off, communication was lost or the log was not defined yet.",[273,316,317,320,326],{},[291,318,319],{},"No base reading",[291,321,322,323],{},"A warning icon above the chart and ",[27,324,325],{},"Some periods have data gaps; consumption may be understated.",[291,327,328],{},"In the first period of a new counter, or for a counter that has not written records for a long time, no reading before the period was found; the first step could not be calculated.",[12,330,331,332,335],{},"You can look at the raw records of a doubtful period on the ",[27,333,334],{},"History > Trend Analysis"," screen.",[19,337,339],{"id":338},"4-save-the-report-and-export-it","4. Save the report and export it",[12,341,342],{},"Save the selection so that you do not have to repeat it every month:",[125,344,345,354],{},[35,346,62,347,350,351,162],{},[27,348,349],{},"Report"," menu at the top of the screen, select ",[27,352,353],{},"New Report",[35,355,356,357,162],{},"Give the report a name and click ",[27,358,359],{},"Save",[12,361,362,363,365,366,369,370,222,373,376],{},"The report keeps the selected tags, the consumption period and the ",[27,364,175],{}," setting. It does not keep the dates; you choose the range when you open the report. A saved report is also listed on the other screens under ",[27,367,368],{},"History",". To create and save reports, the user's group needs the ",[27,371,372],{},"Editor",[27,374,375],{},"ReportManagement"," role.",[12,378,379,380,383],{},"To share the result, use the ",[27,381,382],{},"Export"," button on the toolbar:",[32,385,386,392],{},[35,387,388,391],{},[27,389,390],{},"Export to PDF:"," the chart and the table.",[35,393,394,397],{},[27,395,396],{},"Export to Excel:"," the report details and the table; the chart image is on a separate sheet of the same file.",[12,399,400,401,403,404,407],{},"The ",[27,402,382],{}," button becomes active after the first query. To get only the chart as a PNG, use the separate ",[27,405,406],{},"Save as image"," button on the toolbar; it works in the chart view, so switch back to the chart first if you are in the table view.",[19,409,411],{"id":410},"5-compare-with-the-previous-period","5. Compare with the previous period",[12,413,414,415,418,419,422,423,426,427,430],{},"There is a ready-made page for seeing one day's consumption next to the day before: ",[27,416,417],{},"Günlük Enerji Raporu"," (Daily Energy Report). In the sample project this page opens from the ",[27,420,421],{},"TR1 Daily Report"," and ",[27,424,425],{},"TR2 Daily Report"," links on the ",[27,428,429],{},"Genel Bakış"," (Overview) page.",[12,432,433],{},"The page contains:",[32,435,436,447,475,481],{},[35,437,400,438,44,440,422,443,446],{},[27,439,302],{},[27,441,442],{},"Yesterday",[27,444,445],{},"This Month"," cards. The cards show fixed periods; they do not follow the date selection on the page.",[35,448,449,450,422,453,456,457,460,461,44,463,44,466,44,469,422,472,162],{},"The date picker: the ",[27,451,452],{},"Previous period",[27,454,455],{},"Next period"," arrows, the ",[27,458,459],{},"Now"," button and the presets ",[27,462,302],{},[27,464,465],{},"This week",[27,467,468],{},"This month",[27,470,471],{},"Last month",[27,473,474],{},"Custom range",[35,476,400,477,480],{},[27,478,479],{},"Hourly consumption"," chart: the selected period next to the previous period.",[35,482,400,483,486],{},[27,484,485],{},"Hourly consumption table",": the values hour by hour and the period total.",[190,488,489,497],{},[12,490,491],{},[195,492],{"alt":493,"height":494,"loading":199,"src":495,"width":496},"Daily Energy Report page, Trafo1_EA, 11\u002F10\u002F2026: the date picker at the top (previous and next period arrows, Now, Shortcuts); the cards Today 33 kWh, Yesterday 470 kWh and This Month 7,930 kWh; the Hourly consumption chart with columns of the selected day next to the previous period; below it the Hourly consumption table with the column header Saat (hour)",2360,"\u002Fimages\u002Fguides\u002Fen\u002Fgunluk-enerji-raporu.png",2542,[12,498,499,500,503,504,422,506,508,509,512],{},"Screenshot: 2Win Scada 2.11.5, the sample project's ",[27,501,502],{},"Daily Energy Report"," page (TR1), November 10, 2026 and the day before. The consumption history is sample data generated for the screenshot; the warning icon on the ",[27,505,302],{},[27,507,442],{}," cards marks a data gap caused by the screenshot installation being switched off for a while. The table's column header ",[27,510,511],{},"Saat"," (hour) is a fixed text of the sample page and appears in Turkish in every language.",[12,514,515,516,519],{},"The page is made for printing on paper; the ",[27,517,518],{},"Print"," button in the upper right corner produces an A4 printout.",[88,521,523],{"id":522},"set-up-the-same-page-for-your-own-counter","Set up the same page for your own counter",[12,525,526,527,529,530,532],{},"The page is created from the ready-made page template named ",[27,528,502],{},". This step uses the screen editor (Professional package, ",[27,531,372],{}," role).",[125,534,535,546,559,574],{},[35,536,537,538,541,542,545],{},"On the ",[27,539,540],{},"Settings > Editor"," page, select ",[27,543,544],{},"File > New"," and type the page name.",[35,547,62,548,551,552,555,556,558],{},[27,549,550],{},"Start"," field, select ",[27,553,554],{},"From a page template"," and pick the ",[27,557,502],{}," template in the list.",[35,560,561,562,565,566,569,570,573],{},"Type the counter's channel and device name in the ",[27,563,564],{},"Tag Prefix"," field (for example ",[49,567,568],{},"Pano1.Analizor1",") and the name to show on the page in the ",[27,571,572],{},"Equipment Name"," field.",[35,575,576],{},"Confirm the window. The page is created and saved.",[12,578,579,580,583,584,586,587,590],{},"The template looks for the energy counter under the name ",[49,581,582],{},".KWH",": combined with ",[27,585,564],{}," it becomes ",[49,588,589],{},"Pano1.Analizor1.KWH",". If your counter tag has a different name, change it in the widget settings after adding the template.",[19,592,594],{"id":593},"what-to-do-next","What to do next",[32,596,597,606,612],{},[35,598,599,40,602,605],{},[27,600,601],{},"Several counters with breakdowns:",[27,603,604],{},"History > Consumption Pivot"," totals consumption by process group, tag and calendar breakdowns.",[35,607,608,611],{},[27,609,610],{},"Consumption on your own page:"," The consumption of today, yesterday or last month can be bound to a value label like a normal tag.",[35,613,614,40,617,162],{},[27,615,616],{},"If the counter is not connected yet:",[82,618,85],{"href":84},[12,620,621],{},"Related pages in the manual:",[32,623,624,630,637,642,649,656],{},[35,625,626,629],{},[82,627,114],{"href":628},"https:\u002F\u002Fdocs.2winscada.com\u002Fen\u002Foperator\u002Fconsumptions.html",": the calculation rule, calendar alignment, partial periods and data gaps, query limits.",[35,631,632,636],{},[82,633,635],{"href":634},"https:\u002F\u002Fdocs.2winscada.com\u002Fen\u002Foperator\u002Freporting.html","Reporting",": the report menu, filters, the chart and exporting.",[35,638,639,162],{},[82,640,118],{"href":641},"https:\u002F\u002Fdocs.2winscada.com\u002Fen\u002Foperator\u002Fconsumption-pivot.html",[35,643,644,648],{},[82,645,647],{"href":646},"https:\u002F\u002Fdocs.2winscada.com\u002Fen\u002Fengineering\u002Flog-definitions.html","Log (Archive) Definitions",": the consumption fields.",[35,650,651,655],{},[82,652,654],{"href":653},"https:\u002F\u002Fdocs.2winscada.com\u002Fen\u002Fengineering\u002Fconsumption-snapshots.html","Consumption and Snapshots",": binding consumption values to a page.",[35,657,658,662],{},[82,659,661],{"href":660},"https:\u002F\u002Fdocs.2winscada.com\u002Fen\u002Fengineering\u002Ftemplates.html","Templates and Blocks",": page templates and their parameters.",[12,664,665],{},"If you would like to see what a report from your own counters looks like, we can go through it together in a demo meeting.",[667,668],"home-cta-group",{},{"title":670,"searchDepth":671,"depth":671,"links":672},"",2,[673,677,678,679,680,681,684],{"id":21,"depth":671,"text":22,"children":674},[675],{"id":90,"depth":676,"text":91},3,{"id":122,"depth":671,"text":123},{"id":210,"depth":671,"text":211},{"id":261,"depth":671,"text":262},{"id":338,"depth":671,"text":339},{"id":410,"depth":671,"text":411,"children":682},[683],{"id":522,"depth":676,"text":523},{"id":593,"depth":671,"text":594},"Steps to derive daily and monthly consumption from an ever-increasing kWh counter: cumulative log, the Consumptions screen, comparison with the previous period, export.","md",{},true,"3","\u002Fkwh-counter-consumption-report","2.11.5","2026-11-12","8",{"title":6,"description":685},"kwh-counter-consumption-report","A counter only goes up; a report needs the difference per period. From a cumulative log to daily and monthly consumption, and on to a report page that compares periods.","CcoQ8GVR94qOACqpifatKC_1WIVufZC85YsQc4aWyUE",{"en":695,"tr":699},"kwh-sayacindan-tuketim-raporu",1796215558413]