Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello,
I have a YTD data souce so each month is ytd data and I need only the month data .I have created three calculated columns to achieve this:
1. YTD FT3 = Calculate(Sum('2022 FT3'[Consolidated])): This gives me the Cumulative Consolidated
2. Previous mnth FT3 = CALCULATE([YTD FT3],PREVIOUSMONTH('Calendar'[Date])): this gives me the previous Cumulative Consolidated
Solved! Go to Solution.
Hi @LynnM ,
The logic of CALCULATETABLE() function is as below.
CALCULATETABLE(<expression>[, <filter1> [, <filter2> [, …]]])
I think [Current Mnth ft3] is a measure and you add a measure in filter field of CALCULATETABLE() function. So you will get this error.
Here I suggest you to try SELECTCOLUMNS() function to achieve your goal.
Month FT3 =
SELECTCOLUMNS('2022 FT3',[Current Mnth ft3])
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@LynnM , You should try measures like examples
MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))
last MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-1,MONTH)))
Power BI — Month on Month with or Without Time Intelligence
https://medium.com/@amitchandak.1978/power-bi-mtd-questions-time-intelligence-3-5-64b0b4a4090e
https://www.youtube.com/watch?v=6LUBbvcxtKA
last month Sales = CALCULATE(SUM(Sales[Sales Amount]),previousmonth('Date'[Date]))
Thank you for the swift response.
I used your recommended calcs as follows:
Hi @LynnM ,
The logic of CALCULATETABLE() function is as below.
CALCULATETABLE(<expression>[, <filter1> [, <filter2> [, …]]])
I think [Current Mnth ft3] is a measure and you add a measure in filter field of CALCULATETABLE() function. So you will get this error.
Here I suggest you to try SELECTCOLUMNS() function to achieve your goal.
Month FT3 =
SELECTCOLUMNS('2022 FT3',[Current Mnth ft3])
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.