We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello I have a PowerBI Matrix table and it is working great. But I am trying to create another matrix output table based on the results of this first table to normalize the numbers a little bit. Basically I want to take the Cell Value in the original table and subtract the Row Avearge x Column Average divided by the overeall average. I can create the new table very easily in Excel but can I do this in PowerBI too? How do I do it?
Solved! Go to Solution.
@Bootkie2
Try the following measure for your new matrix visual.
New Measure =
var __rowtotal = CALCULATE([Average Online Sales],ALLSELECTED('rb_lysol_question_key'[Product Category]))
var __columntotal = CALCULATE([Average Online Sales],ALLSELECTED('rb_lysol_question_key'[Age]))
var __grandtotal = CALCULATE([Average Online Sales],ALLSELECTED())
var __result =
[Average Online Sales] -
DIVIDE(
__rowtotal * __columntotal,
__grandtotal
)
return
__result
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Bootkie2
Try the following measure for your new matrix visual.
New Measure =
var __rowtotal = CALCULATE([Average Online Sales],ALLSELECTED('rb_lysol_question_key'[Product Category]))
var __columntotal = CALCULATE([Average Online Sales],ALLSELECTED('rb_lysol_question_key'[Age]))
var __grandtotal = CALCULATE([Average Online Sales],ALLSELECTED())
var __result =
[Average Online Sales] -
DIVIDE(
__rowtotal * __columntotal,
__grandtotal
)
return
__result
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Awesome!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 56 | |
| 40 | |
| 35 | |
| 18 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 64 | |
| 38 | |
| 34 | |
| 23 |