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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Helper I
Helper I

Modify measure - add to be filtered with current year



is there a way to modify the below measures:



Total per column per year: = sumx(ADDCOLUMNS(SUMMARIZE('Table','Table'[Institution],'Table'[Date].[Year]),"@result",[ValueLatestDate(all Years)]),[@result])

ValueLatestDate(all Years) = Var Max_Date = MAX('Table'[Date])
Var Latest_Value = CALCULATE(SUM('Table'[Amount]),'Table'[Date]=Max_Date)
return Latest_Value

to both include all the values from the current year...

thank you

Community Support
Community Support

Hi, @CJKPowerBI 


Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures. I look forward to your response.


Best Regards,

Community Support Team _Charlotte

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

hello @v-zhangti 


for the below table as an example and for measure nr.2 above i would like the measure to always show the results for column with "balance" (to be at the measure filtered if possible) and the current year meaning 2022 and the total should be: $482,054


BalanceOwner 1$5,9836/30/2020
BalanceOwner 1$5,8156/30/2020
BalanceOwner 1$12,0276/30/2021
BalanceOwner 2$3,6326/30/2021
BalanceOwner 1$6466/30/2022
BalanceOwner 2$10,3256/30/2022
BalanceOwner 1$2,2626/30/2022
BalanceOwner 1$26,7256/30/2022
BalanceOwner 3$100,0006/30/2022
BalanceOwner 3$1626/30/2022
BalanceOwner 3$5696/30/2022
BalanceOwner 3$986/30/2022
BalanceOwner 3$5696/30/2022
BalanceOwner 3$986/30/2022
BalanceOwner 3$50,9136/30/2022
BalanceOwner 3$3,3216/30/2022
BalanceOwner 3$9,8036/30/2022
BalanceOwner 1$2906/30/2022
BalanceOwner 1$11,9066/30/2022
BalanceOwner 1$45,9716/30/2022
BalanceOwner 2$100,0006/30/2022
BalanceOwner 1$9,9276/30/2022
BalanceOwner 1$46,7466/30/2022
BalanceOwner 2$1,4166/30/2022
BalanceOwner 1$9,6326/30/2022
BalanceOwner 1$4046/30/2022
BalanceOwner 1$5136/30/2022
BalanceOwner 2$47,6216/30/2022
BalanceOwner 1$2,1376/30/2022

Helpful resources

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.