Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi PBI Community,
I am trying to come up with a function, expression, or method to display the total of the absolute value column in the below matrix. Var S - F is the variance between forecast and sales, which is sometimes negative. Var % S-F/F is the percent variance between forecast and sales. I didn't have any trouble getting absolute value to work for the individual items in the Absolute Value Variance and Absolute Value Variance % columns, but I want something that will add up the absolute value variance instead of just giving me a positive of the sales variance. The combined absolute value variance of the below three items should be 43,424, not 12,496. Currently, the overall is still just taking the sales variance and making it positive instead of doing 27,960 + 3,244 + 12,220. Similarly, the Absolute Value Variance % should be 17%, not 5%.
Ideally, I would like to display this value in the matrix, but separate scorecards for the absolute value variance and the absolute value variance percentage would work too.
Solved! Go to Solution.
You can try a totals measure like this:
Ab Val Var Totals =
SUMX ( VALUES ( Items[Item] ), [Ab Val Var] )
Proud to be a Super User!
You can try a totals measure like this:
Ab Val Var Totals =
SUMX ( VALUES ( Items[Item] ), [Ab Val Var] )
Proud to be a Super User!
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.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 32 | |
| 27 | |
| 25 |