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

Values should not change based on the slicer in measure

Hi,

 

I have created a measure where it should not chnage based on the year selected in the slicer.

What ever year I select my measure should not change. 

Which ever year I select I should see line graph, where yu dont see when I have selected year 2021.

This is my measure: 

Raks_1-1672747943107.png

 

Raks_4-1672748084044.png

Raks_3-1672748021569.png

 

thanks in advance !

 

 

 

 

4 REPLIES 4
Idrissshatila
Super User
Super User

Hello,

This article will solve your problem https://learn.microsoft.com/en-us/power-bi/create-reports/service-reports-visual-interactions?tabs=p...

 

you will click on the slicer and then go to the format section in the header then edit interactions and block the one on the grapth you want.

 

If I answered your question, please mark my post as solution, Appreciate your Kudos👍

Follow me on Linkedin



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

@Idrissshatila  Thanks for your response 

I dont want the entier visual to stop interaction just the line needs to be stoped.

I am using cluster line graph.

 

Thanks !

 

@Anonymous , for that you need a year slicer on an independent year table and in that case you need use that as a filter in bat visual

 

//Year1  is independent Date table

calculate(Sum(Table[Value]), filter(Table, Table[Year] in values(Year1[Year]) ) )

 

no need to use this filter in line measure

 

Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak 

if I create an Independent table how will my column values change ?

This below image is when 2022 is selected

Raks_0-1672752209053.png

this visual when 2021 is selected I am not  seeing the line.

I should see same values in line accross any year selecte from slicer only columns values should change as per the slicer.

Raks_1-1672752238194.png

 

 

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.

Top Solution Authors
Top Kudoed Authors