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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

DAX to include current Fiscal year as well as all the current projects

Hi,

My current Power BI dashboard shows all the projects that started in the Current Fiscal Year, however, I am also trying to include all the projects that are in current status as well. For example, the project might have started in the 2021 fiscal year but is still in its Current status. Fiscal year starts at 10/1 and ends on 09/30

This is how it looks now

ProjectProject StatusProgress StatusActual Start
Project ACurrentLate3/4/2022
Project BComplete 1/5/2022
    

 

This is what i am trying to acheive

ProjectProject StatusProgress StatusActual Start
Project ACurrentLate3/4/2022
Project BComplete 1/5/2022
Project CCurrent 6/20/2021
1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

If you have a separate calendar table, you can filter the data by applying a measure like the one below to the table visual filter pane.

filter =
IF (
    MAX ( 'Table'[Project Status] ) = "Current"
        || MAX ( 'Table'[Actual Start] ) IN VALUES ( 'Calendar'[Date] ),
    1,
    0
)

veasonfmsft_0-1667199579942.png

 

Best Regards,
Community Support Team _ Eason

View solution in original post

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

If you have a separate calendar table, you can filter the data by applying a measure like the one below to the table visual filter pane.

filter =
IF (
    MAX ( 'Table'[Project Status] ) = "Current"
        || MAX ( 'Table'[Actual Start] ) IN VALUES ( 'Calendar'[Date] ),
    1,
    0
)

veasonfmsft_0-1667199579942.png

 

Best Regards,
Community Support Team _ Eason

amitchandak
Super User
Super User

@Anonymous , if you have selected a year try like

 

example

new measure =
var _max = allselected(Date[Year])

var _year = summarize(filter(all(Table), Table[Status] ="Current") , Date[Year])
return
calculate( sum(Table[Value]), filter(all('Date'), ('Date'[Year] in _max || 'Date'[Year] in _year) ))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.