Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
Hi, I have a problem with the total, when there is a formula in the columns. Why in the total, does it calculate the formula as if it were a normal row, instead of giving me the total of the rows?
The margin formula is this, and in the row it is calculated correctly
Solved! Go to Solution.
Hi @Cervo114 ,
In this case, you need to create another measure, because when calculated directly, its sum is based on the full table calculation and not the direct sum of two values.
Margine 2 = sumx(table, [Margine ])
And similar case refer:
https://community.powerbi.com/t5/Desktop/Total-is-wrong-in-a-matrix/m-p/348993
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
Hi @Cervo114 ,
In this case, you need to create another measure, because when calculated directly, its sum is based on the full table calculation and not the direct sum of two values.
Margine 2 = sumx(table, [Margine ])
And similar case refer:
https://community.powerbi.com/t5/Desktop/Total-is-wrong-in-a-matrix/m-p/348993
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
Can you please share the sample data and let us know about the desired output in the Total Column
Proud to be a Super User!
This is the formula:
Margine = ((SUM(MOVIMAG[VALVEN1])-[QTVEN] * SUM('TABRILIS'[PREZZO]))/([QTVEN] * SUM('TABRILIS'[PREZZO])))*100
and this is the correct risult: 61,625 (63,93+57,32=121.25/2=61,625) media
Can you please share the sample data and let us know about the desired output in the Total Column
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 38 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 34 | |
| 33 | |
| 30 |