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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

How to make this filter?

I have a table, the time column is a period of a week.

So we have the time column like

period 1-week 1,...

 

How to make the corresponding filter like:

period and week

-----------------------------------------------

|period 1-week 1: 1/1/2023-1/7/2023         |

|period 1-week 2:  1/8/2023-1/14/2023      |

|period 1-week 3:  1/15/2023-1/21/2023    |

|period 1-week 4: 1/22/2023-1/28/2023     |

|period 2-week 5: 1/29/2023-2/4/2023       |

|..............................................................                   |

 

 

 

period number actually is the number of month.

 

How to make this filter?

 

1 ACCEPTED SOLUTION
Igna
Resolver III
Resolver III

Hello,

 

You can create a calculated column with that kind of formula : 

Custom Filter = 'YourTable'[period] & "-week " & 'YourTable'[week] & ": " & 
FORMAT(STARTOFMONTH('YourTable'[Date]), "M/d/yyyy") & " - " & FORMAT(ENDOFMONTH('YourTable'[Date]), "M/d/yyyy")

 

Then use it to filter your data.

 

Hope it helps.

 

Igna

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thank you, @Igna 

Igna
Resolver III
Resolver III

Hello,

 

You can create a calculated column with that kind of formula : 

Custom Filter = 'YourTable'[period] & "-week " & 'YourTable'[week] & ": " & 
FORMAT(STARTOFMONTH('YourTable'[Date]), "M/d/yyyy") & " - " & FORMAT(ENDOFMONTH('YourTable'[Date]), "M/d/yyyy")

 

Then use it to filter your data.

 

Hope it helps.

 

Igna

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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