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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Jenni_Zen
New Member

Two Dates from two columns of a table to add on a single slicer

Hi Everyone,

 

I am new to PowerBI, so please bear with me 🙂

 

I am trying to create a date slicer for a report as in the second pic. Values highlighted will be coming from two different columns of a table (1st pic) . Is this possible? If not, any alternatives? Any help is appreciated.

 

Jenni_Zen_2-1668446503534.png

 

Jenni_Zen_0-1668540790739.png

 

 

 

Thanks in advance

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @Jenni_Zen,

It seem like a common multiple date field analysis requirement, you can take a look at the following blog ‘start date’ ,’end date’ part if helps:

Before You Post, Read This 

Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
Shaurya
Memorable Member
Memorable Member

Hi @Jenni_Zen,

 

If these dates are coming from different columns and you want to filter fields that are different as well then I suggest that you create two slicers. You can pull in the date in the first slicer and use it to filter visuals that are related to that date and same for the second date column. Make sure that you turn off interactions between visuals that are not related to prevent any mismatch in the data.

 

Works for you? Mark this post as a solution if it does!
Check out this blog of mine: How to Export Telemetry Data from Azure IoT Central into Power BI

Hi @Shaurya 

 

Thank you for the reply. If some more details could help.

 

The slicer will filter some chart visuals like the one below. The dates you see on the chart are coming from a different field of a different table (Sales) which does not have a direct relationship with this (Order Date) table.

 

so if I was to put it in sql, this is what I am trying to display on the chart ..

 

-- Chart Display---

SELECT Sales.MainDate, Sales.[StockArr], Sales.[StockArrEstimate]
FROM Station INNER JOIN (Store INNER JOIN (Contacts INNER JOIN Sales ON Contacts.ID = Sales.StoreID) ON Store.[StoreID] = Contacts.[Name]) ON Station.[StationID] = Store.Station

 

---Add the below to a slicer---

WHERE (((Sales.MainDate) Between OrderDate.[StartDate] And OrderDate.[EndDate]) AND ((Contacts.[Name])=StoreName));

 

Any idea how I can setup the chart to behave correctly ?

 

Jenni_Zen_0-1668510012543.png

Jenni_Zen_1-1668510750120.png

 

Thanks in advance

 

Anonymous
Not applicable

HI @Jenni_Zen,

It seem like a common multiple date field analysis requirement, you can take a look at the following blog ‘start date’ ,’end date’ part if helps:

Before You Post, Read This 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.