Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hello,
is there a way to modify the below measures:
1)
Total per column per year: = sumx(ADDCOLUMNS(SUMMARIZE('Table','Table'[Institution],'Table'[Date].[Year]),"@result",[ValueLatestDate(all Years)]),[@result])
2)
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
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
| Type | Owner | Amount | Date |
| Balance | Owner 1 | $5,983 | 6/30/2020 |
| Balance | Owner 1 | $5,815 | 6/30/2020 |
| Balance | Owner 1 | $12,027 | 6/30/2021 |
| Balance | Owner 2 | $3,632 | 6/30/2021 |
| Balance | Owner 1 | $646 | 6/30/2022 |
| Balance | Owner 2 | $10,325 | 6/30/2022 |
| Balance | Owner 1 | $2,262 | 6/30/2022 |
| Balance | Owner 1 | $26,725 | 6/30/2022 |
| Balance | Owner 3 | $100,000 | 6/30/2022 |
| Balance | Owner 3 | $162 | 6/30/2022 |
| Balance | Owner 3 | $569 | 6/30/2022 |
| Balance | Owner 3 | $98 | 6/30/2022 |
| Balance | Owner 3 | $569 | 6/30/2022 |
| Balance | Owner 3 | $98 | 6/30/2022 |
| Balance | Owner 3 | $50,913 | 6/30/2022 |
| Balance | Owner 3 | $3,321 | 6/30/2022 |
| Balance | Owner 3 | $9,803 | 6/30/2022 |
| Balance | Owner 1 | $290 | 6/30/2022 |
| Balance | Owner 1 | $11,906 | 6/30/2022 |
| Balance | Owner 1 | $45,971 | 6/30/2022 |
| Balance | Owner 2 | $100,000 | 6/30/2022 |
| Balance | Owner 1 | $9,927 | 6/30/2022 |
| Balance | Owner 1 | $46,746 | 6/30/2022 |
| Balance | Owner 2 | $1,416 | 6/30/2022 |
| Balance | Owner 1 | $9,632 | 6/30/2022 |
| Balance | Owner 1 | $404 | 6/30/2022 |
| Balance | Owner 1 | $513 | 6/30/2022 |
| Balance | Owner 2 | $47,621 | 6/30/2022 |
| Balance | Owner 1 | $2,137 | 6/30/2022 |
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 58 | |
| 54 | |
| 42 | |
| 30 | |
| 24 |