Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi there,
I've got a tricky question. I cound't find any solution on forum.
I connect to two databases, grab quantity of sales from one source add quantity of sales from the other and I've got TOTAL QUANTITY.
Then in PRODUCTS table I have all information about products.
In another measure SALES KG I just multiply TOTAL QUANTITY by weight of each of my products from PRODUCTS table.
To get % of column total I just divide each row by total weight sold. To this point everything calculates correctly.
Question I've got is how do I get cummulative % CT Sales KG ?
I can't use Date['Date'] <= MAX( Date['Date'] ) cause I don't use dates in this matrix.
Solved! Go to Solution.
@piotr_gor , What I you using if yot are not using date in the matrix
You should refer to this blog , I like the cumulative approach there
https://exceleratorbi.com.au/pareto-analysis-in-power-bi/
You can use allselected in place of all there
Hi,
If you cannlot use the Date['Date'] <= MAX( Date['Date'] ), maybe you can add an index colum to your data to do something like :
VAR Index = SELECTEDVALUE( Index ) or else based on your situation.
and then
Table['Index'] <= VarIndex
Hope it helps
@piotr_gor , What I you using if yot are not using date in the matrix
You should refer to this blog , I like the cumulative approach there
https://exceleratorbi.com.au/pareto-analysis-in-power-bi/
You can use allselected in place of all there
Great website! Thanks. I'm almost there. In some reasons it did calculate cummulative % but the other way around. How do I change that?
EDIT: ok, I've got it
User | Count |
---|---|
141 | |
113 | |
104 | |
77 | |
64 |
User | Count |
---|---|
135 | |
123 | |
101 | |
71 | |
61 |