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
Hi,
The following function was working fine until I try to use it again this month. Do anyone experience the same or have any solution? I am trying to sum the volume by month but the Earlier() does not regsiter any column selection.
Calculate (
Sum ( Table1.volume,
Filter( Table1,
Month ( Table1.date ) = Month ( Earlier ( Table1.date ))
)
)
Thank you so much,
Jeff
Solved! Go to Solution.
Hi, @Anonymous
I have no problem testing this formula on my side. You can check if the columns of data involved in the formula have changed.
Sample data:
Column = Calculate (Sum ( 'Table'[Volume]),
Filter('Table',
Month ('Table'[Date]) = Month(Earlier ('Table'[Date] ))))
There are other ways you can try.
Column 2 = CALCULATE(SUM('Table'[Volume]),
FILTER(ALL('Table'),
[Date].[Month]=EARLIER('Table'[Date].[Month])))Month = MONTH([Date])Column 4 = CALCULATE(SUM('Table'[Volume]),
FILTER(ALL('Table'),
[Month]=EARLIER('Table'[Month])))
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.
Hi, @Anonymous
I have no problem testing this formula on my side. You can check if the columns of data involved in the formula have changed.
Sample data:
Column = Calculate (Sum ( 'Table'[Volume]),
Filter('Table',
Month ('Table'[Date]) = Month(Earlier ('Table'[Date] ))))
There are other ways you can try.
Column 2 = CALCULATE(SUM('Table'[Volume]),
FILTER(ALL('Table'),
[Date].[Month]=EARLIER('Table'[Date].[Month])))Month = MONTH([Date])Column 4 = CALCULATE(SUM('Table'[Volume]),
FILTER(ALL('Table'),
[Month]=EARLIER('Table'[Month])))
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.
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 |
|---|---|
| 54 | |
| 46 | |
| 44 | |
| 20 | |
| 19 |
| User | Count |
|---|---|
| 73 | |
| 71 | |
| 34 | |
| 33 | |
| 31 |