March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
114 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
165 | |
116 | |
63 | |
57 | |
50 |