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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply

Flag today() between dates

Hello Community,
I need your help with the below scenarios,
Today is March 22, 2024, and I want to check,

If today() is between January 1, 2024, and March 29, 2024, then the Flag column should say "Current,"
If today() is between March 30, 2024 and June 28, 2024, the Flag column should say "Not Current."
The flag column should show "Current" from January 1, 2024, to March 29, 2024.

Date
1/1/2024
03/22/2024
03/29/2024
03/30/2024
06/28/2024
06/29/2024
09/27/2024
09/28/2024
12/31/2024

 

Expected Result
DateFlag
1/1/2024Current
03/22/2024Current
03/29/2024Current
03/30/2024Not Current
06/28/2024Not Current
06/29/2024Not Current
09/27/2024Not Current
09/28/2024Not Current
12/31/2024Not Current









1 ACCEPTED SOLUTION

4 REPLIES 4

@PijushRoy 
Our first fiscal Quarter Start from Jan 1,2024 to March 29,2024 and Second Quarter Start from March 30,2024 to June 28,20204 and Third Quarter Start from June 29,2024 to Sep 27,2024 and Fourth Qtr Sep 28,2024 to Dec 31,2024.

If today is 5 the April then It should be in Qtr 2.

pls try this

Screenshot_1.png

@Ahmedx 
It is working perfectly fine...Thank yo so much for your help 🙂

PijushRoy
Super User
Super User

Hi @tejapowerbi123 

Why till March 29, not the end of march 31st?
If today is 5th April, what is the current value?
Please elaborate on the logic clearly




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.