{"id":2411,"date":"2016-09-15T07:43:43","date_gmt":"2016-09-15T07:43:43","guid":{"rendered":"http:\/\/himbap.com\/blog\/?p=2411"},"modified":"2016-09-15T07:52:41","modified_gmt":"2016-09-15T07:52:41","slug":"writing-custom-report-using-report-wizard","status":"publish","type":"post","link":"https:\/\/himbap.com\/blog\/?p=2411","title":{"rendered":"Writing custom report using Report Wizard"},"content":{"rendered":"<p>In our <a href=\"https:\/\/himbap.com\/blog\/?p=2394\">earlier article <\/a>we explained different options for writing custom reports for Dynamics CRM. In this article we will demonstrate writing reports using out of the box Report Wizard. So let\u2019s start.<br \/>\n<strong>Requirement<\/strong>: We have one custom entity event which stores details about events like event budget, event organizer, primary contact, event city and date. We want to write a report which should display events group by event organizer.<br \/>\n<a href=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard1.png\"><img decoding=\"async\" loading=\"lazy\" class=\" size-medium wp-image-2412 aligncenter\" src=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard1-237x300.png\" alt=\"reportwizard1\" width=\"237\" height=\"300\" srcset=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard1-237x300.png 237w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard1.png 252w\" sizes=\"(max-width: 237px) 100vw, 237px\" \/><\/a><\/p>\n<p><strong>Solution<\/strong>: We can use report wizard to create this report by following below steps:<br \/>\n1. Navigate to Sales -&gt; Reports and click on New button over command bar.<br \/>\n2. Click on Report Wizard -&gt; select Start new report option and click on Next.<br \/>\n3. Select primary and related entity based on requirement. For us we are just selecting primary entity:<\/p>\n<p><a href=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard2.png\"><img decoding=\"async\" loading=\"lazy\" class=\" size-medium wp-image-2413 aligncenter\" src=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard2-300x124.png\" alt=\"reportwizard2\" width=\"300\" height=\"124\" srcset=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard2-300x124.png 300w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard2-624x259.png 624w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard2.png 750w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>4. In next step we can add filter criteria to our report, by default you will get last x days criteria added for 30 days (This could be an interview question \ud83d\ude09 ), you can design your filter just like we can do in Advanced find. let\u2019s keep it default and click on Next:<br \/>\n<a href=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard3.png\"><img decoding=\"async\" loading=\"lazy\" class=\" size-medium wp-image-2414 aligncenter\" src=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard3-300x85.png\" alt=\"reportwizard3\" width=\"300\" height=\"85\" srcset=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard3-300x85.png 300w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard3-624x177.png 624w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard3.png 694w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>5. As we need to display events group by event organizer so click on top option to add grouping based on event organizer like following:<br \/>\n<a href=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard4.png\"><img decoding=\"async\" loading=\"lazy\" class=\" size-medium wp-image-2415 aligncenter\" src=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard4-300x205.png\" alt=\"reportwizard4\" width=\"300\" height=\"205\" srcset=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard4-300x205.png 300w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard4-624x426.png 624w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard4.png 761w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>6. Next click on report area and other column from event entity for example event detail, city, date, budget using following option:<br \/>\n<a href=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard5.png\"><img decoding=\"async\" loading=\"lazy\" class=\" size-medium wp-image-2416 aligncenter\" src=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard5-300x205.png\" alt=\"reportwizard5\" width=\"300\" height=\"205\" srcset=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard5-300x205.png 300w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard5-624x426.png 624w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard5.png 755w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>7. Let\u2019s say we want to show summary based on the event budget so let\u2019s use aggregation function sum to show total budget based on event organizer like following:<br \/>\n<a href=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard6.png\"><img decoding=\"async\" loading=\"lazy\" class=\" size-medium wp-image-2417 aligncenter\" src=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard6-300x177.png\" alt=\"reportwizard6\" width=\"300\" height=\"177\" srcset=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard6-300x177.png 300w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard6.png 469w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>8. Click on Next and select report format option, Let\u2019s select Table only here.<br \/>\n9. Finish report wizard, we should get following option populated automatically:<br \/>\n<a href=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard7.png\"><img decoding=\"async\" loading=\"lazy\" class=\" size-medium wp-image-2418 aligncenter\" src=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard7-300x165.png\" alt=\"reportwizard7\" width=\"300\" height=\"165\" srcset=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard7-300x165.png 300w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard7-624x343.png 624w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard7.png 814w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>10. Click on Run Report to test your report finally. We should get events based on organizer like following:<br \/>\n<a href=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard8.png\"><img decoding=\"async\" loading=\"lazy\" class=\" size-medium wp-image-2426 aligncenter\" src=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard8-300x222.png\" alt=\"reportwizard8\" width=\"300\" height=\"222\" srcset=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard8-300x222.png 300w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard8-624x461.png 624w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2016\/09\/reportwizard8.png 671w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Even though report wizard provides us limited functionality but still it provides benefits like:<br \/>\n\uf0d8 &gt; Quick report development<br \/>\n\uf0d8 &gt; Allows us to modify report created using report wizard<br \/>\n\uf0d8 &gt; Field summer<br \/>\n\uf0d8 &gt; No deployment required<br \/>\n\uf0d8 &gt; Context sensitive report automatically<br \/>\nIn next article we will learn about next report writing options. Stay tuned!!<\/p>\n<p>Want to learn more about Microsoft Dynamics CRM Reporting,<a href=\"http:\/\/himbap.com\/contactus.aspx\"> enroll for<\/a> our Dynamics CRM training programs today !!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our earlier article we explained different options for writing custom reports for Dynamics CRM. In this article we will demonstrate writing reports using out of the box Report Wizard. So let\u2019s start. Requirement: We have one custom entity event which stores details about events like event budget, event organizer, primary contact, event city and date. We want to write&#8230; <a href=\"https:\/\/himbap.com\/blog\/?p=2411\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":2426,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21,275,383],"tags":[388,387],"_links":{"self":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2411"}],"collection":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2411"}],"version-history":[{"count":8,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2411\/revisions"}],"predecessor-version":[{"id":2428,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2411\/revisions\/2428"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/2426"}],"wp:attachment":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}