Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I have a matrix with 10 levels (or rows), it is a hierarchy.
I want to do a measure like:
Cost:=
VAR Sumat = [FixedCosts]+[VariableCosts]
Return
SWITCH (
TRUE (),
--lowest level
Sumat,
--9th level
ISINSCOPE ( Project[level9] ), IF (Sumat <0, 0, [Sumat]),
--8th level (from this point on the aggregation should be the classic SUM)...
ISINSCOPE ( Client[Comp] ), --just sum as usual
...
)
That is, (from lowest to uppest level...
.... and so on
Can this be achieved in DAX?
@Anonymous See if this helps: Matrix Measure Total Triple Threat Rock & Roll - Microsoft Power BI Community
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
19 | |
14 | |
10 | |
7 |