[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-563712-105":53,"doc-detail-563712-en":127},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":120,"head_meta":122,"extra_data":124,"updated_unix":126},105,"en","recipe-for-a-gantt-chart-create-a-gantt-chart-in-qlikview","Recipe for a Gantt chart - create a Gantt chart in QlikView","","Guidance on building a Gantt chart in QlikView despite it not being available as a pre-defined chart type. The approach uses event data with start and optional end dates and a grouping such as project or time phase. It explains how to calculate duration and bar offsets with Qlik expressions, switch to horizontal bars, adjust axis settings by removing “Force 0,” and format time labels. Suggestions cover adding grid, labeling bars, controlling visible ranges with static min/max, using grouped dimensions, and assigning colors per project. It concludes with an option to use an extension object for more complex needs.",{"@graph":63,"@context":119},[64,80,102],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":11,"@type":70,"position":76},"https://docshare.wps.com/template/presentations/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/recipe-for-a-gantt-chart-create-a-gantt-chart-in-qlikview/563712/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/recipe-for-a-gantt-chart-create-a-gantt-chart-in-qlikview/563712.png","ImageObject",442,249,{"name":88,"@type":89},"WPS_1790064749","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-22","2026-10-12",true,{"@type":98,"interactionType":99,"userInteractionCount":101},"InteractionCounter",{"@type":100},"ViewAction",6,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"What data structure is needed to create the Gantt chart?","Question",{"text":109,"@type":110},"The data model must contain events with a start date (or time) and optionally an end date. Each event should also belong to a grouping such as a project or a phase in time.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"How are duration and bar positions calculated?",{"text":114,"@type":110},"Duration is calculated with Max(EndDate)-Min(StartDate) (or by using the same date for both StartDate and EndDate if only one date exists). Bar offset is set using Min(StartDate) so bars align to the project start.",{"name":116,"@type":107,"acceptedAnswer":117},"How should the axis behave to avoid the default 1899 start?",{"text":118,"@type":110},"Remove the “Force 0” option to prevent the time axis from being forced to Dec 30th 1899. If the chart still needs Monday-aligned starts, static min can be set using expressions like WeekStart(Min(StartDate)).","https://schema.org",{"og:url":78,"og:type":121,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":123,"canonical":78},"index,follow",{"doc_id":125,"site_id":56},563712,1792337862,{"code":4,"msg":5,"data":128},{"doc_id":125,"user_id":129,"nickname":88,"user_avatar":130,"doc_module":9,"category_id":8,"category_name":11,"doc_title":59,"doc_description":61,"doc_content":131,"file_id":132,"file_url":133,"file_type":134,"file_size":135,"view_count":101,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":40,"language":136,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":137,"faqs":138,"seo_title":139,"seo_description":61,"update_tm":140,"read_time":101},3985747859154,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","Qlik Design Blog : Recipe for a Gantt chart  \nPosted by Henric Cronström 01-Jun-2012  \nHave you ever wanted to create a Gantt chart in QlikView, only to find out that this chart type is not one of the pre-defined charts? Then you should be happy to learn that it is possible to create a Gantt chart and that it isnot very difficult.  \nTo be able to create this chart, you need some type of event in the data model, where each event has a start date (or time) and possibly also an end date. Further, an event should belong to some grouping, typically a project or a phase in time.  \nGiven the above, we can now start making the graph:  \n• Create a bar chart with the appropriate event grouping as dimension (e.g. , project, phase, or other group of events)  \n• Add the duration of the project as expression: Max(EndDate)-Min(StartDate) . If you only have one date per event, you just replace both StartDate and EndDate with the date that you have. The duration will then be the time between the first event and the last.  \n• Add the start of the project as an offset to the bars: Min(StartDate) . [Chart Properties-ExpressionsThe plus sign to the left of the Expression-Bar Offset]  \n• Set the graph orientation to horizontal bars. [Chart Properties-Style-Orientation]  \n• Remove the “Force 0” option. This option will force the start of the time axis to be Dec 30th 1899.[Chart Properties-Axes-Expression Axes-Force 0]  \n• Format the expression axis labels as dates or as months (e.g. M/D/YY or YYYY MMM) . [Chart Properties-Number-Date]  \nNow you should have a Gantt chart. If you want to improve the way it looks, you may want to consider the following suggestions:  \n• Add a grid. [Chart Properties-Axes-Expression Axes-Show grid]  \nQlik Design Blog : Recipe for a Gantt chart  \n• If you want a label on each bar, add a second expression defining the text for the label and use this as “Value on Data Points.” [Chart Properties-Expressions-Display Options] Don’t forget to disable the “Bar” option for this expression. This is the first check box in the Display Options group.  \n• If the chart shows a range which is too large, add static min and static max to define the display range of the expression, e.g. Min(StartDate)-5 and Max(EndDate)+40, respectively. The additional distance on the upper limit is to leave space for the text. The unit is number of days. [Chart Properties-Axes-Scale]  \n• If you have a second dimension, you can add this too. But if you do, make sure you use the “Grouped”option and not “Stacked.” The latter does not work well with bar offsets. [Chart Properties-StyleSubtype]  \n• You may want to use the same color within each value of the first dimension, e.g. , one color per project. One good way to define the color (e.g. RGB values) is to do it already in the dimension table in the script and use this color in a color function in the bar background color, e.g. RGB (ProjR,ProjG,ProjB) . [Chart Properties-Expressions-The plus sign to the left of the ExpressionBackground Color]  \nThis Gantt chart solves most cases where you need to display that duration of a group of events. Should you need a more complex Gantt chart, you may need to make it as an extension object instead.  \nHIC  \n31332 Views Tags: gantt_chart, expression, chart, design, chart_visualisation, gantt, gantt_graph  \n Henric Cronström in response to Markus Karppanen on page 2 12-Oct-2016 14:18  \nIt's difficult to control the position of the tick marks, but I would then just try to shift the beginning an additional day or two, e.g.  \nWeekStart(Min(StartDate)) -1  \nHIC  \n Markus Karppanen in response to Henric Cronström on page 3  \n12-Oct-2016 05:47  \nHi!  \nThanks for help! But this doesn't solve the problem.  \nQlik Design Blog : Recipe for a Gantt chart  \nAs you can see from the screenshot, Static Min does change the view and now the Gantt chart starts in correct point. The problem is the grid and the axis info text. Because of the date zero, the first date on the grid is  \n15.10.2","cbCail3Ei75aceA6","https://ap.wps.com/l/cbCail3Ei75aceA6","pdf",602609,"English","# Recipe for a Gantt chart\n## Prerequisites: event start/end dates and grouping\n## Core chart construction steps\n## Styling, labels, range control, and color\n## Tips from discussion responses","[{\"question\":\"What data structure is needed to create the Gantt chart?\",\"answer\":\"The data model must contain events with a start date (or time) and optionally an end date. Each event should also belong to a grouping such as a project or a phase in time.\"},{\"question\":\"How are duration and bar positions calculated?\",\"answer\":\"Duration is calculated with Max(EndDate)-Min(StartDate) (or by using the same date for both StartDate and EndDate if only one date exists). Bar offset is set using Min(StartDate) so bars align to the project start.\"},{\"question\":\"How should the axis behave to avoid the default 1899 start?\",\"answer\":\"Remove the “Force 0” option to prevent the time axis from being forced to Dec 30th 1899. If the chart still needs Monday-aligned starts, static min can be set using expressions like WeekStart(Min(StartDate)).\"}]","Recipe for a Gantt chart - create a Gantt chart in QlikView | PDF",1791837840]