{"id":11794,"date":"2018-02-28T13:08:55","date_gmt":"2018-02-28T13:08:55","guid":{"rendered":"https:\/\/kb.sambapos.com\/?p=11794"},"modified":"2018-02-28T13:08:55","modified_gmt":"2018-02-28T13:08:55","slug":"2-4-12-a-how-to-create-a-new-report","status":"publish","type":"post","link":"https:\/\/kb.sambapos.com\/en\/2-4-12-a-how-to-create-a-new-report\/","title":{"rendered":"2.4.12.a. How to Create a New Report?"},"content":{"rendered":"<p><span style=\"font-size: 14pt;\"><strong>1. Creating table for Report<br \/>\n<\/strong><\/span>Manage &gt; Reports &gt; Reports &gt; Add Report<\/p>\n<p><code>[Table Name:1 ,1, 2]<\/code><br \/>\n<code> &gt;Column1 Name|Column2 Name|Column3 Name<\/code><br \/>\n<code>Cell 1\u00a0 | Cell 2\u00a0 | Cell 3<\/code><br \/>\n<code>Cell\u00a04\u00a0 |\u00a0Cell 5\u00a0 | Cell 6<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11795 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-4-12-a-How-to-Create-a-New-Report-01-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-4-12-a-How-to-Create-a-New-Report-01-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-4-12-a-How-to-Create-a-New-Report-01-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-4-12-a-How-to-Create-a-New-Report-01-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-4-12-a-How-to-Create-a-New-Report-01.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Forming the Tables<\/strong><\/span><\/p>\n<p><strong>Examples:<\/strong><br \/>\n<code>[Table Name: 2,1] <\/code><br \/>\nIt will create 2 columns.<br \/>\nFor first column 2\/3 (66% ) and for second column 1\/3 (33% )<br \/>\n<code>[Table Name: 2,1,2]<\/code><br \/>\nIt will create 3 columns.<br \/>\nFor first column 2\/5 (40%), for second column 1\/5 (20%) and for third column 2\/5(40%)<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Forming the Lines<\/strong><\/span><br \/>\nLine values are limited by\u00a0|(pipe) char. Each line&#8217;s pipe count and column count of table should match -1.<\/p>\n<p><code>[Table 1: 1,1]\u00a0<\/code> \u00a0 \u00a0 \u00a0 &gt;&gt; Creates Two Columns<br \/>\n<code>Cell 1\u00a0 | Cell 2\u00a0<\/code> \u00a0 \u00a0 \u00a0&gt;&gt; Two values | Char.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Sprawling Lines<\/strong><br \/>\nCell counts should match with column counts.<\/p>\n<p><strong>Examples<\/strong><br \/>\n<code>[Table 1: 1,1] <\/code><br \/>\n<code>Cell 1 | Cell 2<\/code><br \/>\n<code>Cell 3 |\u00a0<\/code> \u00a0 \u00a0\u00a0 &gt;&gt; This line is displayed as single cell.<br \/>\n<code>Cell 4 | Cell 5<\/code><\/p>\n<p><code><\/code><br \/>\n[Table 1: 1,1,1] &gt;&gt;&gt;&gt; Three Columns<br \/>\n<code>Cell 1 |\u00a0 Cell 2 | Cell 3<\/code><br \/>\n<code>Cell 3 || Cell 4<\/code> \u00a0 \u00a0 \u00a0\u00a0&gt;&gt; Two pipes for matching the columns<br \/>\n<code>Cell 5 |\u00a0 Cell 6 | Cell 7<\/code><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Multiple Tables<\/strong><\/p>\n<p><code>[Table 1: 1,1]<\/code><br \/>\n<code>Value 1 | Value2<\/code><\/p>\n<p><code> [Table 2: 1,1]<\/code><br \/>\n<code>Value 3 | Value4<\/code><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Column Alignment<\/strong><br \/>\nAll columns are aligned as default. If you put a space before column size, it aligns to right.<\/p>\n<p><code>[Table 1: 1, 1]\u00a0<\/code> \u00a0 \u00a0 &gt;&gt; Second 1 starts with space character.<br \/>\n<code>Value 1 | Value2\u00a0<\/code>\u00a0 \u00a0 \u00a0 &gt;&gt; Aligns right the Value2 column.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Creating table for Report Manage &gt; Reports &gt; Reports &gt; Add Report [Table Name:1 ,1, 2] &gt;Column1 Name|Column2 Name|Column3 Name Cell 1\u00a0 | Cell 2\u00a0 | Cell 3 Cell\u00a04\u00a0 |\u00a0Cell 5\u00a0 | Cell 6 Forming the Tables Examples: [Table Name: 2,1] It will create 2 columns. For first column 2\/3 (66% ) and for [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-11794","post","type-post","status-publish","format-standard","hentry","category-2-4-sambapos-advanced-setup"],"_links":{"self":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/11794","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/comments?post=11794"}],"version-history":[{"count":2,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/11794\/revisions"}],"predecessor-version":[{"id":11798,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/11794\/revisions\/11798"}],"wp:attachment":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/media?parent=11794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/categories?post=11794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/tags?post=11794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}