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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
joshua1990
Post Prodigy
Post Prodigy

Filter Bar Chart by other visual

Hi experts!

I have a bar chart that shows me the total sales for the current yeark on a weekly aggregation (x axes).

Then I have a matrix that shows me the top 10 article that have been sold in the previous week. On this visual I have 2 filters:

  • Current Week Filter
  • Top 10 Article based on Measure [Sales]

Now I would like to click in the matrix to display the sales in the bar chart for the full year. 

When I click in the matrix then I just get the value for the previous week, not the full history. Probably because there is filter (previous week) on the matrix visual.

How can I get the full history?

 

 

 

1 REPLY 1
Gabriel_Walkman
Continued Contributor
Continued Contributor

The user experience would seem a bit confusing imho. Perhaps have a look at bookmarks to create a button for yearly graphs?

If you definitely want it as you described, maybe use a [total sales] measure something like
var _year = max( 'Calendar'[year] )
return
if( hasonevalue( [article] ),

    calculate( [sales], all( 'Calendar' ), 'Calendar'[year] = _year ),
    [sales]

)

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.