Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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 |
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
55 | |
55 | |
37 | |
30 |
User | Count |
---|---|
78 | |
64 | |
45 | |
42 | |
40 |