Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi!
I have two slicers for a line chart; 1 is for the machine I'm looking at och 2 is for the machines I compare with.
If I select A in 1, the measure I'm using in a line chart only works when I have any combination with A eg. A+B, A+C etc. in 2. I have tried using all(), removefilters() and others but not sure what to do.. Is there something in the code that is wrong?
(I can't remove the interaction since then other measures get messed up)
slicer 1 is dim_machine[name]
slicer 2 is dim_machine_comp[name]
@AnnaMagnusson Not very clear on you issue. But date has moved to date table connected or independent based on need as you are using >= independent might work well
I am assuming Dim_Machine_Comp is joined with fact
refer if needed
Compare two Brands: https://youtu.be/exN4nTewgbc
Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI
@amitchandak I'll try to be more specific.
So I have a line chart where I want to compare values between one machine (A) and all machines (A to D), the values are from the measure comp. The dates where I don't have values I interpolate, that's the measure comp straight.
If I select A in the first slicer och A, B and C in the second one, I see the measure comp straight. But if I don't select A I get an average of the values from B and C, which is not equal to the value from comp straight. I thought I could remove the slicer/filter context by using all or removefilter but that is not working. Is there another way? How do I get the red line without having to select A?
The grey dotted line is the average and the red dashed line is comp straight .
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.