Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
assuming my data is summed in a matrix as follows:
columnA
1
2
3
4
-----
10
Question:
how do I subtract the values from the total to determine variance of column A's total into a new columnB
ie:
ColumnA. | columnB
1. 9
2. 8
3. 7
4. 6
----------------------
10. 30
I created the table "testTable" with a single column, "A".
Plotted this column in the matrix visual.
Plotted this measure in the matrix table.
I hope this solution helps.
Thank you.
Hi, thanks for the help! I'm still having some issues and want to clarify it a little more. ColumnA is a measure which is:
Avg = calculate(sum('dw factsalesorders'[Sales])/calculate(sum('dw factsalesorders'[qty])))
when I try to do this it's not working correctly:
vari=calculate(sum('dw. Factsalesorders'[sales])/calculate(sum('dw factsalesorders'[qty])),all('dw factsalesorders'))-calculate(sum('dw factsalesorders'[sales])/calculate(sum('dw factsalesorders'[qty])))
it changes all values in the matrix and isn't correct...what am I doing wrong :)?
User | Count |
---|---|
98 | |
90 | |
83 | |
70 | |
67 |
User | Count |
---|---|
113 | |
104 | |
101 | |
73 | |
65 |