Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have a line and clustered column chart which all respond to one slicer. However, I'd like the line in the chart to independently respond to a different slicer as well. Is there a way to adjust the line without adjusting the bars?
Thank you!
Solved! Go to Solution.
@bschil98 Yes, use REMOVEFILTERS in the measure for your column to remove the slicer filter for that value. So like:
CALCULATE([Measure],REMOVEFILTERS('SlicerTable'[Column]))
Hi @bschil98 ,
According to your description, I have two suggestions. One is to use the SELECTEDVALUE and ALLEXCEPT functions to keep the filter conditions of different slicers.
Another way is to use the REMOVEFILTERS function. I did a test, the reference is as follows:
M_Month =
CALCULATE ( SUM ( Sales[Quantity] ), REMOVEFILTERS ( Sales[Calendar Year] ) )
M_Year =
CALCULATE ( SUM ( Sales[Quantity] ), REMOVEFILTERS ( Sales[Month] ) )
choose Month_slicer:
choose Year_slicer:
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @bschil98 ,
According to your description, I have two suggestions. One is to use the SELECTEDVALUE and ALLEXCEPT functions to keep the filter conditions of different slicers.
Another way is to use the REMOVEFILTERS function. I did a test, the reference is as follows:
M_Month =
CALCULATE ( SUM ( Sales[Quantity] ), REMOVEFILTERS ( Sales[Calendar Year] ) )
M_Year =
CALCULATE ( SUM ( Sales[Quantity] ), REMOVEFILTERS ( Sales[Month] ) )
choose Month_slicer:
choose Year_slicer:
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@bschil98 Yes, use REMOVEFILTERS in the measure for your column to remove the slicer filter for that value. So like:
CALCULATE([Measure],REMOVEFILTERS('SlicerTable'[Column]))