Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Slicer with graph metrics

I want to use the metrics from the graph in the slider. I want to be able to select multiple metrics. all and 1. I am not able to have it working when selecting or deselecting




Super User
Super User

@PrinceII , each of you measures need to check if it is selected or not



Actual Cummulative =

var _ac = countx(filter(allselected(Slicer), slicer[Value] ="Actual Cummulative"),Slicer[Value])


if(isblank(_ac), blank(), [Actual Cummulative measure]))



you need to use formula or measure in place of Actual Cummulative measure


Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin

Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!



Your suggetion I have applied. Using the slicer I get in the graph as in graph 1


Graph 1



I expect to have the graphs like this (these have al the measure but I would expect to see only the selected measures that will show like they are in this graph not like bars as it shows now)






Hi @PrinceII 


The axis is adjusted automatically according to diaplayed values in the chart. I guess the Target incremental (yellow bar) only has data on May 21st and May 28th, so the axis range is from around May 21st to May 28th. While you show all measures in the chart, the axis range is much larger from May 2021 to Jan 2022. 


Do you have a Date table in your model? If not, add a Date table and connect Fact table to Date table on Date columns. Then use the date column from Date table into the chart as Axis field. Right click on the date field in Shared axis box and select Show items with no data. Then use measures as Amit suggested. This should make some changes. 


Best Regards,
Community Support Team _ Jing

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.