Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Dear All,
please, I have the following Dataset and I would like to measure the cumulative sum by month of [YTD_in/out]_
I try the following structure:
Var LastM = SELECTEDVALUE('Y Projection'[Month])
but the Column [Colonna] didn't show any results, but any error too.
Please, How I can Solve?
Solved! Go to Solution.
Please use
=
VAR LastM = 'Y Projection'[Month]
VAR CurrentDepTable =
CALCULATETABLE (
'Y Projection',
ALLEXCEPT ( 'Y Projection', 'Y Projection'[Department] )
)
RETURN
SUMX (
FILTER ( CurrentDepTable, 'Y Projection'[Month] <= LastM ),
'Y Projection'[YTD_IN/OUT]
)
Please use
=
VAR LastM = 'Y Projection'[Month]
VAR CurrentDepTable =
CALCULATETABLE (
'Y Projection',
ALLEXCEPT ( 'Y Projection', 'Y Projection'[Department] )
)
RETURN
SUMX (
FILTER ( CurrentDepTable, 'Y Projection'[Month] <= LastM ),
'Y Projection'[YTD_IN/OUT]
)
Thank You Tamerj1,
It's fine and the value are exact!!!!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
User | Count |
---|---|
86 | |
85 | |
68 | |
67 | |
63 |
User | Count |
---|---|
210 | |
118 | |
116 | |
81 | |
74 |