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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Showing group of dates filtered with slices

Hello all,

I would like to get a line chart of the numbers of sales for a period like this one

slice.png

But I'd like to know if I can get the same, filtering the date in a list or dropdown slice,
instead of a range of dates.
This is the measure I'm using:
sales =
CALCULATE(countrows(sales);FILTER(sales;sales[salesdate]>=sales[salesdate]-7 && sales[salesdate]<=sales[salesdate]))

dropdown.png

Thanks in advance for your help

0 REPLIES 0

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.