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
Anonymous
Not applicable

Filter a certain value without affecting the others

Hi,

May I know if it is possible to filter a graph wherein all values will be fixed except for one.

Say, the following graph.

FIX.png

I have a filter for Brands within the same hierarchy as Manufacturer. If I'm going to filter the products inside ValC, how do I make it so as to retain the values of ValA, ValB, ValD, and ValE and affect only the display of ValC according to its data? Simply put that all the other Vals will not be affected by the filtering. The problem is whenever I filter the Brands for Manufacturer ValC, all the other Vals will be gone since they do not contain any data from that Brand.

Thank you!

3 REPLIES 3
v-xicai
Community Support
Community Support

Hi @Anonymous ,

 

You may create measure using ALLSELECTED and ALL function, then put the new measure onto Values box of Line chart.

 

Measure1=IF(Table1[Manufacturer]="ValC", CALCULATE(MAX(Table1[Market Share]),FILTER(ALLSELECTED(Table1), Table1[Manufacturer]=MAX(Table1[Manufacturer]))), CALCULATE(MAX(Table1[Market Share]),FILTER(ALL(Table1), Table1[Manufacturer]=MAX(Table1[Manufacturer]))))

If I misunderstood it, could you please share your sample data and desired output screenshots for further analysis? You can also upload sample pbix to OneDrive and post the link here. Do mask sensitive data before uploading.

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Unfortunately, I get the following error and the Manufacturer data can't be used as well.

 

ERROR.PNG

Anonymous
Not applicable

Anyone? 😞

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.