Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
sztapme
New Member

Creating column chart with Calendar overlay

Hi PowerBI developers,

 

I am working on a project where I show site visit performance on column chart segmented by groups.

On this barchart sometimes due to data error certain months are filtered out, but shown as blank (eg. June, July).

 

As we would like to see the impact of certain promotions and new product lunches on the site visit above the barchart I'm showing promotions/portfolio changes using now GANTT chart. 

My issue is that the months are not aligned with the barchart and the custom visual (Gantt chart xviz) doesn't let me to adjust it. Another issue is when the date slicer is used it won't be aligned even if I could somehow perfectly adjust it for some date.

 

See sample screenshot below:

cluster+gantt_sample.png

 

What would you recommend for this problem? A different visual should be used?

I really appreciate sharing your suggestions.

 

Thank you

2 REPLIES 2
amitchandak
Super User
Super User

Thank you @amitchandak 

 

I'm afraid this visual is not a solution to my problem. On the column chart the #of visits are monthly averages coming from table (each month has 1 value for every group market with different colors) while the Portfolio with new product could be a different date when new product was launched.

 

For promotions there is a promotion start date and promotion end date and these are shown as bars --> easier to see the duration of the promotion.

 

For the promotion and Portfolio there's a subcategory and within the subcategory then the name of the promotion/portfolio. 

Structure of the tables are rather simple:

For cluster barchart:

DateGroupGroup_prevMonthVisitor
2022.02       1 450,000
2022.02       2 320,000
2022.02       1               2500,000
2022.02       2               1270,000

- Date (format: yyyy-mm)

- Group (INT, ex: 1,2,3,...,7)

- Group_prevMonth (INT, ex: 1,2,3,...,7)

- visitors (INT, ex: 518,000)

 

For Promotions GANTT chart:

Type     Subtype     StartDate       EndDate                    Name
Portfolio      Brand1     2022.02.15        null     New product release 1
Promotion      Facebook     2022.02.01    2022.03.15                FB paid ad

 

- Type: (text: promotion, portfolio)

- Subtype: (text: Brand1, Brand2, Facbook, Youtube, ...)

- Start Date: (Date: yyyy-mm-dd)

- End Date: (Date: NULL for portfolio, for promotion yyyy-mm-dd)

- Name: (text: new product1, promotion1,...)

cluster+gantt_sample2.png

 

Hope this helps

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.