Forum Discussion
Johan-MTM
Helper III
2 years agoAdd a column for row totals
Hi, How do I add a column that show a total for each row?
- 2 years ago
Total = SUMX(q2, q2[Antal lan lantagare under 18]+q2[Antal lan vuxna lantagare]+q2[Antal lán bibliotek]+q2[Antal lán TBK])
Johan-MTM
Helper III
2 years agoHow would the DAX look like if I want to create a new measure?
ChiragGarg2512
Solution Sage
2 years agoTotal = SUMX(q2, q2[Antal lan lantagare under 18]+q2[Antal lan vuxna lantagare]+q2[Antal lán bibliotek]+q2[Antal lán TBK])
- Johan-MTM2 years ago
Helper III
Sorry ChiragGarg2512 , I didn't see your reply before I posted my question!
I tried a new measure with your sugestion but got an error:- ChiragGarg25122 years ago
Solution Sage
change the table name to what you have.
- Johan-MTM2 years ago
Helper III
Total = SUMX(q2, q2[Antal lån låntagare under 18]+q2[Antal lån vuxna låntagare]+q2[Antal lån bibliotek]+q2[Antal lån TBK])
I'm sorry but I don't get it 🙂 The error message points to "q2", should I replace this with something?