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
isly
Frequent Visitor

Lock visual to YTD

Hi

 

I have a report that has a relative slicer, and it effects my one visual when i chage the month difference. i tried to put a only filter on visual level, but relatice slicer still changes the showed month. 

 

How can i lock a visual so it is not effected by a relative slicer? 

1 ACCEPTED SOLUTION
KHorseman
Community Champion
Community Champion

EditInteractions.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

7 REPLIES 7
v-jiascu-msft
Employee
Employee

Hi @isly,

 

Could you please share it with us?

 

Best Regards!

Dale

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

Hi @v-jiascu-msft @kcantor@KHorseman

 

The answer in another forum didn't work .

 

I used the method mention above, but with our own date diff calculation i get first month of the year to active month. by doing that, i locked the visual being filterd by relative slicer and only getting it's own date diff calculation to show months. 

fhill
Resident Rockstar
Resident Rockstar

 

You may need to duplciate any measures just for this Visual.  If it's not a Slicer interaction issue, one of your caculations might be changing your YTD values b/c it's sharing a measure being effected by another slicer.  Make unique YTD Measures just for this visual (and double check your slicer interactions one more time.)

 

P.S.  Some sample data would really help here...

 

FOrrest

 

 




Did I answer your question, or help you along the way?
Please give Kudos or Mark as a Solution!


https://www.linkedin.com/in/forrest-hill-04480730/

Proud to give back to the community!
Thank You!




KHorseman
Community Champion
Community Champion

EditInteractions.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi

 

Not that, that function doesn't work. 

 

i think it should be a dax code, can't quite figure it out. 🙂

kcantor
Community Champion
Community Champion

@isly, the suggestion @KHorseman works for my visuals. However, if you are looking for dax, have you considered using ALL within your calculation to force the calculation to ignore that single filter?

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




isly
Frequent Visitor

Hi

 

@kcantor@KHorseman

 

Thanks, 🙂 yeah it works, but not the kind of way i want it. I have an answer on another forum which i am about to try. 

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.