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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

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.