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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Jhadur
Helper I
Helper I

Filter date from today to fiscal year end

Hi,

 

I am new to Power BI. I am looking to create a filter that will report the number of business cases remaining for the current fiscal year. The count needs to be from "today" to the fixed year end date. How can I accomplish this as the relative date options don't offer what I need. I currently have a total count of all business cases for this fiscal year. Sample data below

 

INITIATIVE NAMEBCDC MONTH

BC1

3/1/2024

BC24/1/2024
BC34/1/2024
BC44/1/2024
BC54/1/2024
BC65/1/2024
BC76/1/2024
BC86/1/2024
BC96/1/2024
BC107/1/2024
BC117/1/2024
BC127/1/2024
BC137/1/2024
BC1410/1/2024
BC1510/1/2024
BC1610/1/2024
BC1710/1/2024
BC1811/1/2024

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Jhadur ,

 

You can try below formula to create calculated column:

IsInCurrentFiscalYear = 
VAR TodayDate = TODAY()
VAR FiscalYearEndDate = DATE(YEAR(TodayDate), 12, 31)
RETURN
IF(
    [BCDC MONTH] >= TodayDate && [BCDC MONTH] <= FiscalYearEndDate,
    1,
    0
)

vkongfanfmsft_0-1716529431170.png

 

Then use IsInCurrentFiscalYear Field in Filter to choose result is 1:

vkongfanfmsft_1-1716529495446.png

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Jhadur ,

 

You can try below formula to create calculated column:

IsInCurrentFiscalYear = 
VAR TodayDate = TODAY()
VAR FiscalYearEndDate = DATE(YEAR(TodayDate), 12, 31)
RETURN
IF(
    [BCDC MONTH] >= TodayDate && [BCDC MONTH] <= FiscalYearEndDate,
    1,
    0
)

vkongfanfmsft_0-1716529431170.png

 

Then use IsInCurrentFiscalYear Field in Filter to choose result is 1:

vkongfanfmsft_1-1716529495446.png

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Thank you. I am getting this error with the above.

Jhadur_0-1716990009522.png

 

Jhadur_2-1716990279213.png

These are my fields but when I try to add BC Gate Status before [BCDC MONTH] I only get this option. What am I doing wrong?

Jhadur_3-1716990429830.png

 

Ahmedx
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

sample data provided. 

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.