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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
lkarolak
Frequent Visitor

Filtering by multiple years

My table structure is more or less as follows (projects)

 

Title      Start date       End date

Proj A   01.01.2018      31.12.2018

Proj B   01.01.2018       30.04.2019

Proj C   01.09.2018      31.01.2019

 

 

Now I would need to have a filter of the data by year (not the full date). In the above scenario, I need to be able to get "Proj B" and "Proj C" returned if I select either 2018 or 2019 as my filter/slicer.

 

Thanks for help!

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @lkarolak,


Current power bi filter not works on multiple date column, you need to create a table to store expand detail date form date columns and filter on detail date.

Spread revenue across period based on start and end date, slice and dase this using different dates

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

HI @lkarolak,


Current power bi filter not works on multiple date column, you need to create a table to store expand detail date form date columns and filter on detail date.

Spread revenue across period based on start and end date, slice and dase this using different dates

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Anonymous
Not applicable

@lkarolak

I would suggest you create a Date table here. From then, you can create relationship with your project table, and use the year column in Date table as your slicer.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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