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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
KaroRoza
Helper I
Helper I

FY data for each month

Hi, 

please help on that as I still can not get results which I expect to see.
This is very simple one dataset. I have sales records for all months (now 1-2.2026) and Targets for each month of 2026. I would like to have column in dashboard with Targets YTD and Target FY. I have troubles with FY Targets. There is also slicer with months.

I need to have a column which show FY value for each month ( to measure process agains full year, not only selected months).

KaroRoza_0-1773154258583.png

KaroRoza_2-1773154387848.png

 

Basically I need to see 310m for each month no matter how many months I select in slicer.

 

please help me on that,

many thanks,

Karolina

 

 

1 ACCEPTED SOLUTION

finally I found solution by mysleft

BP26 GOR USD FY =
    SUMX(ALL(DATABASE),DATABASE[BP26 GOR USD])

View solution in original post

4 REPLIES 4
Natarajan_M
Solution Sage
Solution Sage

Hi @KaroRoza , I was able to recreate your scenario . 

Please find the details .


Sales :

Natarajan_M_0-1773156439451.png


Target :

Natarajan_M_1-1773156455783.png


Date:

Natarajan_M_2-1773156471399.png

 


Measure :

Sales YTD = SUM( Sales[Sales] )
Target FY =
CALCULATE(
    SUM( Targets[Target] ),
    REMOVEFILTERS( DimDate )
)

Target YTD = SUM( Targets[Target] )

Variance YTD = [Sales YTD] - [Target YTD]

All months selected :
Natarajan_M_3-1773156582909.png


Jan and feb as selection 

Natarajan_M_4-1773156614851.png

 

PBIX: 
Sales Target.pbix


Thanks 
If this response was helpful in any way, I’d gladly accept a kudo.
Please mark it as the correct solution. It helps other community members find their way faster







JamieHolding
Resolver I
Resolver I

Target FY = 
VAR SelectedYear = SELECTEDVALUE(Dates[Year], YEAR(TODAY()))
RETURN
CALCULATE(
    SUM(Targets[Annual Target]),
    ALL(Dates[Month]),
    Dates[Year] = SelectedYear
)

 

I'd suggest making a date table and then using a formula similar to the one here. The key is that you need to use ALL() to ignore the month filter.

there is just one simple dataset with date column, month integer. There is no Dates table.

finally I found solution by mysleft

BP26 GOR USD FY =
    SUMX(ALL(DATABASE),DATABASE[BP26 GOR USD])

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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