Forum Discussion
daxreport
3 years agoFrequent Visitor
Summing a column from a Virtual table
Hello, In my measure, I have created a Virtual Table using VAR statement. This virtual table uses ALLSELECTED to summarize all the columns available in the current visual along with two measures...
Alf94
Solution Supplier
3 years agoHi daxreport ,
Can you please try the following?
Measure =
SUMX(
CALCULATETABLE(
ADDCOLUMNS (
SUMMARIZE(
FACTTABLE,
FACTTABLE[REGION],
FACTTABLE[CUSTOMER]
)
"A", [MEASURE 1]
"B”, [MEASURE 2]
),
ALLSELECTED()
),
[A]
)
If I answered your question, please mark my post as a solution.
Best,