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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Tomar
New Member

Comparing data corresponding to two date values where date is in single column

Hi This is my main table

 

Publication date | | Project name || Start date || end date |
14-03-2024A14-06-202418-07-2025
20-05-2024A15-07-202418-07-2025
08-09-2024B15-07-202431-12-2024
06-07-2024A15-07-202416-08-2025

 

I have the publication date I want the user to select 2 publication dates which means I need to create 2 filters from the publication date so for example when filter 1 is selected= 14-03-2024 and filter 2 = is 20-05-2024

I need this as an output that shows the date shift of the start and end date of the project in comparison to filter 1 and filter 2 values

Project name || planned start date || planned end date || 14-03-2024 || actual start date || actual end date || 20-05-2024 |
A14-06-202418-07-202539915-07-202418-07-2025368

how can we achieve this in powerbi

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @Tomar,

You can create a new date table as source of slicer and write a measure formula to extract the selected range and apply filter on visual level filter. Then you can use raw table field to create a matrix visual display the results.

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

HI @Tomar,

You can create a new date table as source of slicer and write a measure formula to extract the selected range and apply filter on visual level filter. Then you can use raw table field to create a matrix visual display the results.

Regards,

Xiaoxin Sheng

lbendlin
Super User
Super User

Please provide a more detailed explanation of what you are aiming to achieve. What have you tried and where are you stuck?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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