How can I generate a custom Week Range column (e.g., 06/07/26 - 12/07/26) in Frappe Insights Query B

Hello, Everyone

I’m trying to generate a custom column in Frappe Insights that displays the week range in the following format:

06/07/26 - 12/07/26

from an Order Date value like:

2026-02-16 00:00:00

I’m using the Query Builder (Add Custom Column).

How can I create this in Frappe Insights? And what is the correct formula or approach? If not, what is the recommended alternative?

Thanks in advance!

Hi @Sagar_Soni and welcome to the community

Have you tried going through the documentation?

Best of luck on your Insights journey

now it done, after some interations

week_range = concat(format_date(week_start(order_date),‘%m/%d’),‘-’,format_date(date_add(week_start(order_date),6,‘days’),‘%m/%d’))