I have table
Table1(Field1, Field2, Field3, Field4, Field5)
and in SUMMARIZE function I need put Table1 with columns Field1, Field2, Field3 and ignoring any filters on columns Field4, Field5.
I can't just do this:
SUMX(
SUMMARIZE(
ALLEXCEPT(Table1, Table1[Field1], Table1[Field2], Table1[Field3]),
Table1[Field1],
Table1[Field2],
Table1[Field3]
),
Field3
)
Solved! Go to Solution.
@wvadik , Try like
SUMX(
SUMMARIZE(
calculateTable(Table1, all(Table1[Field4]), all(Table1[Field5])),
Table1[Field1],
Table1[Field2],
Table1[Field3]
),
Field3
)
or
SUMX(
SUMMARIZE(
calculateTable(Table1, removefilters(Table1[Field4]), removefilters(Table1[Field5])),
Table1[Field1],
Table1[Field2],
Table1[Field3]
),
Field3
)
Proud to be a Super User!
@wvadik , Try like
SUMX(
SUMMARIZE(
calculateTable(Table1, all(Table1[Field4]), all(Table1[Field5])),
Table1[Field1],
Table1[Field2],
Table1[Field3]
),
Field3
)
or
SUMX(
SUMMARIZE(
calculateTable(Table1, removefilters(Table1[Field4]), removefilters(Table1[Field5])),
Table1[Field1],
Table1[Field2],
Table1[Field3]
),
Field3
)
Proud to be a Super User!
Check out new user group experience and if you are a leader please create your group
100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.
User | Count |
---|---|
418 | |
186 | |
94 | |
86 | |
62 |
User | Count |
---|---|
463 | |
205 | |
138 | |
105 | |
88 |