Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe'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
Hi,
I have to do the average in the "delivery cost column", without sum the quantity.
For example. where in "n° extra shipping" column there is "0" i want to have an average like 0€
where there is 1, 5€ and where there is 2 , 10€. Even if filter for "means of delivery" or date.
I hope i was clear.
Could you please help me?
Thank you
| N° Extra shipping | Means of delivery | delivery cost € |
| 0 | CAMION | - € |
| 0 | CAMION | - € |
| 0 | CAMION | - € |
| 1 | FURGONE1 | 5,00 € |
| 1 | FURGONE1 | 5,00 € |
| 1 | FURGONE1 | 5,00 € |
| 2 | FURGONE2 | 10,00 € |
| 2 | FURGONE2 | 10,00 € |
Solved! Go to Solution.
Hey,
try a measure like this
an average =
AVERAGEX(
VALUES('table'[N° Extra Shipping]
,CALCULATE(AVERAGE('table'[delivery cost])
)
Hopefully this will provide what you are looking for.
Regards,
Tom
Hey,
try a measure like this
an average =
AVERAGEX(
VALUES('table'[N° Extra Shipping]
,CALCULATE(AVERAGE('table'[delivery cost])
)
Hopefully this will provide what you are looking for.
Regards,
Tom
ok, i have correct the formula, but it isnt what i have to do.
My result it should be:
A=10€
A=10€
A=10€
TOTAL= 10€
B=5€
B=5€
B=5€
TOTAL=5€
GRAND TOTAL= 15€
Now my resul is 10+10+10+5+5+5 =45€ (with the formula like a coloumn)
and 10+10+10=30 5+5+5=15 /2 =22.5 (with the formula like a measure)
Thank you for our answer.
But im facing this problem. It dont me let add "calculate". What is the problem?
"N° trasporti extra" is "N° extra shippping", and "costo trasporto" is "delivery cost"
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 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 74 | |
| 69 | |
| 39 | |
| 35 | |
| 23 |