Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello, I need to find the average of the column [Delivery Time] by the distinct sum of the column [Index Count]:
Medida = CALCULATE(
AVERAGEX(
VALUES(dCalendario[Data]),
CALCULATE(DISTINCTCOUNT(fPedidos[Índice])
)))
Solved! Go to Solution.
I found the solution, thanks.
Média dias de entrega =
VAR Qnt_Entregas =
DISTINCTCOUNT ( fPedidos[Índice] )
VAR Soma_Dias_Entrega =
SUMX (
VALUES ( fPedidos[Índice] ),
CALCULATE ( AVERAGE ( fPedidos[Tempo de Entrega] ) )
)
RETURN
DIVIDE ( Soma_Dias_Entrega, Qnt_Entregas )
@Vialle_Diego , that depends on visual column
Medida = CALCULATE(
AVERAGEX(
VALUES(dCalendario[State]),
CALCULATE(DISTINCTCOUNT(fPedidos[Índice])
)))
I found the solution, thanks.
Média dias de entrega =
VAR Qnt_Entregas =
DISTINCTCOUNT ( fPedidos[Índice] )
VAR Soma_Dias_Entrega =
SUMX (
VALUES ( fPedidos[Índice] ),
CALCULATE ( AVERAGE ( fPedidos[Tempo de Entrega] ) )
)
RETURN
DIVIDE ( Soma_Dias_Entrega, Qnt_Entregas )
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |