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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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