Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext 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
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 |
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 44 | |
| 42 | |
| 18 | |
| 18 |
| User | Count |
|---|---|
| 72 | |
| 66 | |
| 33 | |
| 32 | |
| 31 |