Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi, I am seeking help in created a calculated table whoch contains value for last 13 months.
this is the formula I am using but it is not filtering the rows
Solved! Go to Solution.
Hi @priyanath1988 ,
If you want to calculate the value for last 13 months from the given date, I suggest you to try below code.
BS_Details_Last13Months =
VAR _LAST13MONTH =
EOMONTH ( MAX ( GL_DETAIL[previous_month] ), -13 )
RETURN
CALCULATETABLE (
GL_DETAIL,
FILTER (
GL_DETAIL,
GL_DETAIL[ENTRY_DATE] >= _LAST13MONTH
&& GL_DETAIL[ENTRY_DATE] <= MAX ( GL_DETAIL[previous_month] )
)
)
My Sample:
Result is as below.
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.
Where is now your problem 🙂
Proud to be a Super User!
Hi @priyanath1988 ,
If you want to calculate the value for last 13 months from the given date, I suggest you to try below code.
BS_Details_Last13Months =
VAR _LAST13MONTH =
EOMONTH ( MAX ( GL_DETAIL[previous_month] ), -13 )
RETURN
CALCULATETABLE (
GL_DETAIL,
FILTER (
GL_DETAIL,
GL_DETAIL[ENTRY_DATE] >= _LAST13MONTH
&& GL_DETAIL[ENTRY_DATE] <= MAX ( GL_DETAIL[previous_month] )
)
)
My Sample:
Result is as below.
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.
User | Count |
---|---|
95 | |
86 | |
78 | |
72 | |
66 |
User | Count |
---|---|
113 | |
105 | |
84 | |
65 | |
64 |