Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi everyone! how I can sum PRODSERIE without dublication(for SERIE). Me need get result: SERIE-1(100) + SERIE-2(300)+SERIE-3(300)=700 for Type=0 and SERIE-4(300)=300 for Type 1;
ID | SERIE | PRODSERIE | TYPE | ANOTHER VALUE |
1 | 1 | 100 | 0 | 1 |
2 | 1 | 100 | 0 | 50 |
3 | 2 | 300 | 0 | 23 |
4 | 2 | 300 | 0 | 254 |
5 | 2 | 300 | 0 | 234523 |
6 | 3 | 300 | 0 | 400 |
7 | 4 | 300 | 1 | 1545 |
8 | 4 | 300 | 1 | 345345 |
Solved! Go to Solution.
Try like
sumx(summarize(table,table[SERIE], "_1",maxX(filter(Table, (Table[TYPE]=0 && table[SERIE]<=3) ||
(Table[TYPE]=1 && table[SERIE]=4)) Table[PRODSERIE])),[_1])
Try using SUMMARIZE like:
Measure =
SUMX(
SUMMARIZE('Table',[SERIE],"__Value",AVERAGE([PRODSERIE])),
[__Value]
)
User | Count |
---|---|
84 | |
76 | |
74 | |
48 | |
39 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |