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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
sabi_9
Frequent Visitor

two separate date column on same chart

I have two separate date columns as a start date and end date, can i use both of the differently as a relative date slicer on a single chart so that i can get the result accordingly? 

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @sabi_9

 

From your description, if I understand your requirement correctly, you want to use two different date in a single slicer to filter the result .

 

You could  refer to these steps:

 

1.create the Date table: 

Date = CALENDARAUTO()

 

2.You could create the measure below and use it as a visual filter level:

 

 

Measure = 
VAR currentDate =
    MAX ( 'Date'[Date] )
RETURN
    CALCULATE (
        COUNTROWS ( 'Table'),
        FILTER (
            'Table',
            ( 'Table'[start_date] <= currentDate
                && 'Table'[end_date] >= currentDate )
        )

 

You also could refer to this similar thread.

 

If that is not in this case, could you provide the data sample or the picture of the result you want to have, then I can help you further? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)

 

Best Regards,

Cherry  

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
jthomson
Solution Sage
Solution Sage

What exactly you're wanting isn't clear from your post, but if you make a date table and relate your start/end date fields to it then you should be able to get what you want from using that

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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