Showing results for 
Search instead for 
Did you mean: 
New Member

Stacked Column Chart - Only Display relevant Data



I have a stacked column chart and a date slicer. 


When I select a date range, I want my x-axis to only display the data (in this case employee names) for that date range. 


In this case it is employee time booked. If I select September 2022 - I only want my x-axis to display employees who booked time for September 2022 and not employees who did not book time. 


Please help 🙂 I am a complete novice to building PowerBI reports.

Super User
Super User

@SV1980 , In the your date table is joined with book date, it will filter it.


else you have to create a measure like


new measure =
var _max = maxx(allselected(Date1),Date1[Date])
var _min = minx(allselected(Date1),Date1[Date])
calculate( sum(Table[Value]), filter('Table', 'Table'[Book Date] >=_min && 'Table'[Book Date] <=_max))


here book date is only having date value

new column , if needed

Book Date = datevalue([Book Datetime])

Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors