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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
id013
Helper V
Helper V

Can one visual filter another

Hi,

I'm just wondering if something like this is possible. I would like to have 2 visuals one that shows Sales Values for multiple years and another that shows sales values for a single year but for each period in that year. Is it possible to have that 2nd visual blank until a year is selected in the 1st visual, then the 2nd visual will show the values for each period in that selected year? 

Thanks 

1 ACCEPTED SOLUTION
HarishKM
Impactful Individual
Impactful Individual

@id013 
Hey ,You can use below measure to fulfill your requirement .

Viz = IF(SELECTEDVALUE(financials[Year]),SUM(financials[ Sales]),BLANK())  
drag that measure to 2nd viz it will show blank until you will pass the year value from slicer .

HarishKM_1-1617163788088.png

 

 

HarishKM_0-1617163716968.png

Note: Kindly select any viz go format and edit interaction : 1st chart will not affected by year slicer and 2nd chart will affected by that and it will show value when year is selected

 

 

View solution in original post

3 REPLIES 3
id013
Helper V
Helper V

Thank you both. This helps a lot. 

HarishKM
Impactful Individual
Impactful Individual

@id013 
Hey ,You can use below measure to fulfill your requirement .

Viz = IF(SELECTEDVALUE(financials[Year]),SUM(financials[ Sales]),BLANK())  
drag that measure to 2nd viz it will show blank until you will pass the year value from slicer .

HarishKM_1-1617163788088.png

 

 

HarishKM_0-1617163716968.png

Note: Kindly select any viz go format and edit interaction : 1st chart will not affected by year slicer and 2nd chart will affected by that and it will show value when year is selected

 

 

amitchandak
Super User
Super User

@id013 , isfiltered can help in this case. For all measure in second visual , you need to have this condition

 

New measure =

if(isfiltered('Date'[Year]), [measure], blank())

 

Check this https://www.youtube.com/watch?v=hXg3kRFSGjA

or https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.