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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Select different graph with the same slicer

Hello Community,

 

I have a slice and a line chart, I have the good results when selecting zones from my slicer one by one, but when selecting all it does not showing me the right data because I should be sourcing to other data, I want to know is it possible to use the same slicer, but using in the same line chart two different calculations ?

 

malekzouaridk_0-1650354388496.png

 

Thanks in advance

 

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , isfiltered and hasonevalue can help you

 

if(isfiltered(Table[Column]), [Measure1], [Measure2] )

 

https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.