This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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 |
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 23 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 48 | |
| 46 | |
| 41 | |
| 21 | |
| 18 |