Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
15 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
22 | |
11 | |
10 | |
10 | |
8 |