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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
kmcd
Frequent Visitor

Area Chart Interactions

I have an area chart which shows target sales and actual sales against month.

 

The targets table has the columns:

  • Team
  • Month
  • Target

Whilst the sales table has the columns:

  • SaleID
  • SaleDate
  • SaleMonth (calculated column)
  • UserID (with a relationship to the users table to find the team)

The target table has data until the end of our business year whilst the sales table has data to date. I can filter the report on team and month but have set the month filter to have no action on the area chart.

 

Before filtering on team the area chart shows target data for the rest of the year but when I filter on team it only shows data for the months that there is sales data.

 

Any ideas how I can maintain all target data when I filter by team?

 

 

5 REPLIES 5
ankitpatira
Community Champion
Community Champion

@kmcd You can create dax measure using below and use that for target in visual. So when applying any filter won't have any effect on that.

 

=CALCULATE( SUM('YOURTABLE'[targetColumn]), ALL('YOURTABLE'))

@ankitpatira thanks for the reply. I tried your DAX and it resolves the filtering issue but fixes the annual target value as target for each month. Using ALL('YOURTABLE'[targetColumn]) instead of ALL('YOURTABLE') resolved this but the filtering reverts back to my original problem.

 

Any ideas?

Anonymous
Not applicable

Hi @kmcd,

Could you please share sample data of your tables and post the expected result here? We will appreciate that if you can share the PBIX file.

Thanks,
Lydia Zhang

Hi @Anonymous, I cannot share the original file as the data is commercially sensitive. However I have created a sample workbook with random data although it is behaving slightly differently. How/where do I upload the PBIX file?

Anonymous
Not applicable

Hi @kmcd,

You can upload PBIX file to Onedrive and post shared link of the file in this forum.

Thanks,
Lydia Zhang

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.