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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
dwelsh
Advocate I
Advocate I

Visual with most recent Fiscal Year from Filtered Selection

I am trying to create a Stacked Column Chart visual that will only display the most recent fiscal year from the user's filtered Fiscal Year selection. For instance, if the Fiscal Years selected are those in the image below, the Stacked Column Chart visual would only have data for 2022. 

 

dwelsh_0-1683235504334.png

 

I am currently trying to acheive this by creating a True/False column on my date table so that any date in the max fiscal year is assigned True and all other False. Then I can put the column as a filter on the visual and set it to True. I am having difficulty with creating the column. 

 

Here are the columns/measures I have so far.

 

A measure to return the most recent fiscal year selected.

MaxFY = CALCULATE(max('Calendar'[Fiscalyear]),ALLSELECTED('Calendar'))

A column to set date within the fiscal year to true if they match the most recent fiscal year

IsMaxFY = IF( 'Calendar'[Fiscalyear] = 'Calendar'[MaxFY], TRUE, FALSE )

 

The MaxFY measure works and returns the most recent fiscal year selected (See below). The IsMaxFY column is not working. I want IsMaxFY to read True for the bottom row of the table.

dwelsh_2-1683236234560.png

Any suggestions on how to acheive this?

1 ACCEPTED SOLUTION
mrcss23
Advocate IV
Advocate IV

Hi.

You can just use TOPN filter

use MAX of the YEAR

See pic

 

Sem título.png

View solution in original post

2 REPLIES 2
dwelsh
Advocate I
Advocate I

So easy, thanks @mrcss23!

mrcss23
Advocate IV
Advocate IV

Hi.

You can just use TOPN filter

use MAX of the YEAR

See pic

 

Sem título.png

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.