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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Remove slicer interaction for second line of line graph only.

I have 2 filters and one slicer, and pie chart and the line graph in which i have issues with. Basically the line graph holds the count of patients over month and i want a second line for median and that should interact normally with the filters and pie chart but not the slicer. 
Filters are for states and pie chart is for segments, and slicer holds each individual accounts in slicer, so if i click any one account from slicer, I want to compares its count of patients (1st line) with the median of all patient count of all account in chosen state or segment.

Billy597_0-1706714620527.png



Second line would be a baseline for comparison. Your help would be appreciated.

Thanks!

1 ACCEPTED SOLUTION

Hello @Anonymous ,

 

check the attached pbix file.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

4 REPLIES 4
Idrissshatila
Super User
Super User

Hello @Anonymous ,

 

can you attach your pbix file so we could help you



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Anonymous
Not applicable

Please find the pbix file here. 

Hello @Anonymous ,

 

check the attached pbix file.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Anonymous
Not applicable

Thanks, this works. For anyone looking for solution, use this measure:

Median = CALCULATE(MEDIAN(NewPatient[NewPatientsCount]),REMOVEFILTERS('Account IDs'[Account Name]))

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors