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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sankaranks
Regular Visitor

Plotting events on a graph

I need to create a chart (Line or Bar) to show daily sales using the available dataset. But I also keep another table to store the dates of Weekly marketing campaigns. Now I want to highlight the daily sales chart with campaign dates (Possibly a bubble on the chart) to help analyzing the impact of marketing campaign in sales. 

 

Is that possible to do in Power BI. Please help

 

Sankaran

1 REPLY 1
Eric_Zhang
Employee
Employee

@sankaranks

 

That sounds a good idea, however at this moment it is not supported in Power BI. You can  submit it at Power BI Ideas and vote it up.

 

The workaround can be using a stackedchart to compare the average or max values.

average sales for campaign days = AVERAGEX(FILTER(salesTable,CONTAINS(campaignDates,campaignDates[Date],salesTable[date])),salesTable[sales])

average sales for regular days = AVERAGEX(FILTER(salesTable,NOT(CONTAINS(campaignDates,campaignDates[Date],salesTable[date]))),salesTable[sales])

Capture.PNG

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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