Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Syndicate_Admin
Administrator
Administrator

La tabla que creo en power bi, el resultado total de usuarios respecto al % de usuarios calcula >100

TablaEdades =
FUERON TotalUsuarios =
CALCULAR(
DISTINCTCOUNT(Cualquiera2023[ID de usuario]),
FILTRO(
Cualquiera2023,
NO(ISBLANK(Cualquiera2023[Edad del usuario]))
)
)
DEVOLUCIÓN
ADDCOLUMNS (
RESUMIR (
FILTRO(
Cualquiera2023,
NO(ISBLANK(Cualquiera2023[Edad del usuario]))
),
Cualquiera2023[Edad del usuario],
"Total usuarios", CALCULAR(
DISTINCTCOUNT(Cualquiera2023[ID de usuario])
)
),
"% Total",
DIVIDIR (
[Total usuarios],
TotalUsuarios
) * 1
)
Tabla creada:

Edad del usuarioTotal usuaris% Total
16326,41%
17408,02%
18214,21%
19183,61%
20122,40%
21122,40%
2281,60%
23204,01%
2471,40%
25122,40%
2681,60%
2771,40%
28132,61%
29132,61%
30316,21%
31122,40%
32102,00%
3371,40%
3461,20%
35102,00%
3681,60%
3740,80%
3891,80%
3991,80%
4091,80%
41102,00%
4291,80%
4381,60%
44132,61%
45142,81%
46183,61%
47142,81%
4871,40%
49173,41%
5091,80%
5171,40%
5251,00%
5371,40%
5451,00%
5551,00%
5661,20%
5730,60%
5830,60%
5910,20%
6040,80%
6120,40%
6230,60%
6310,20%
6510,20%
6610,20%

511102%

El total usuarios es correcto, pero el calcul de la proporcion, lo hace sobre 499 usuarios.

Alguna idea.

Gracias

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

¡¡Muy bien!!

Gracias...

View solution in original post

6 REPLIES 6
Syndicate_Admin
Administrator
Administrator

¡¡Muy bien!!

Gracias...

Syndicate_Admin
Administrator
Administrator

Hola

En la parte de abajo, intente reemplazar DISTINCTCOUNT(Any2023[ID de usuario]) a [Total usuaris] y vea si resuelve su problema.

_AAndrade_0-1709109153232.png

No funciona, no acepta poner [Total Usuarios]

¿Puedes compartir un archivo pbix para intentar ayudarte?

Como comparto el archivo?

Hola

Transformo la tuya columna calculada en medidas explícitas y ahora está funcionando correctamente.
Vea el resultado y las medidas:

_AAndrade_0-1709117114468.png

_AAndrade_1-1709117200162.png

Espero que esto te ayude y resuelva el problema.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

Top Kudoed Authors