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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
SergiVVV
New Member

Segmentacion

Buenos días, adjunto un caso a ver si alguien me puede ayudar:

 

Estoy tratando de crear una segmentación de datos, pero después en la tabla (previo al informe), no me devuelve el resultado esperado.

 

Ejemplo:

He creado la siguiente segmentación:

Filtro = GENERATESERIES(0, 1000, 0.1)
Valor Contador UTD Filtrado = SELECTEDVALUE('Filtro'[Contador UTD Filtrado])
 
Para el ejemplo tengo el valor = 10
 
Pero después en las tablas donde lo utilizo no se calcula correctamente:
 
contador utd <X = IF([UTD tabla]<[Valor Contador UTD Filtrado],1,0)
UTD tabla = divide('Datos pdv sku'[Unidades],'Dias venta pdv'[Dias Laborables Mes])
 
Todas las filas que tengo con una "UTD tabla" < 10, no me devuelve un "1", sino un "0" 
 
 
contador utd < xUTD tabla
00,1
00,2
00,3
010
07,5
 
¿Alguien me puede ayudar?
 
Muchas gracias!! 
1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

You seem to have multiple tables participating in this calculation, and maybe a mix of measures and calculated columns. Can you please show your data model, or maybe share a sample pbix?

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

You seem to have multiple tables participating in this calculation, and maybe a mix of measures and calculated columns. Can you please show your data model, or maybe share a sample pbix?

It's true. Lot of tables and mix of measures. I think this is the problem. I'm trying to simplificate the model and see possible solutions. Also I'll share with you. Thank you very much! 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.