Forum Discussion
JRego
6 years agoNew Member
Summarize VAR Calculated Table
Hello, I'm struggling with DAX and especifically with how the Summarize function works. If you try to summarize a Calculated Table that previously was set in a VAR, you cannot use the columns fo...
- 6 years ago
You just need a bit more DAX.
Table 2 = VAR __Table = CALCULATETABLE('Table') VAR __Table1 = SUMMARIZE(__Table,[Column1],"Sum",SUMX(FILTER(__Table,[Column1] = EARLIER('Table'[Column1])),[Column2])) RETURN __Table1Attached PBIX below.
JRego
6 years agoNew Member
Thank you Greg 🙂
Greg_Deckler
Community Champion
6 years agoHappy to help! 🙂