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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Use la cortadora de otro

Realmente apreciado si usted puede ayudar con esto.

Tengo la mesa A que se parece a esto

CategoríaObjetivo
A2
A12
B11
B23
C23
C11

He creado/generado otra tabla "Desviación" de la Tabla A

Variation = 
VAR MinNumber = FLOOR([X-3σ],.05)
VAR MaxNumber = CEILING([X+3σ],.05)
RETURN
    SELECTCOLUMNS (
        CALENDAR ( MinNumber, MaxNumber ),
        "Deviation", INT ( [Date] )
    )

Mi problema es - Puedo conectar la Tabla A a la Tabla "Variación" para que pueda cortar por Categoría (ejemplo: seleccionar sólo la categoría A - también debe cambiar el resultado [desviación] - ¿Hay alguna manera de conectar mi categoría en la tabla A - es decir, [daviation].

Gracias de antemano

8 REPLIES 8
Pragati11
Super User
Super User

Hola @Mcargo ,

Intente incluir la columna CATEGORY de la tabla A a la nueva tabla B. (Agregar a la instrucción SELECTCOLUMNS)

A continuación, cree una relación en esta columna CATEGORY entre estas 2 tablas.

Gracias

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Anonymous
Not applicable

Gracias.. Creo que su sugerencia será:

VAR MinNumber á FLOOR([X-3-],.05) VAR MaxNumber á CEILING([X+3],.05) RETURN SELECTCOLUMNS ( CALENDAR ( MinNumber, MaxNumber ), "Deviation", INT ( [Date] ), ('table A'[catogry] )

Anonymous
Not applicable

Para hacerlo más claro : Obtendrás el mismo resultado [ daviation] si haces una selección.

one.pngpartial.png

Hola @Mcargo ,

¿Puede decirme cuál es la lógica detrás de la siguiente parte de su DAX:

SELECTCOLUMNS (
        CALENDAR ( MinNumber, MaxNumber ),
        "Deviation", INT ( [Date] )
    )

No entiendo por qué se crea una nueva tabla. Son sólo medidas y podrías haberlo hecho en la propia TABLA1.

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Anonymous
Not applicable

Hi,
Thank you.  This is like GENERATESERIES FUNCTION The idea is to create a bell-curved shape for each category ( by using other measures) - Now, we can create if we split the sample data by category, but the real data has a lot of categories ( will be tough to do that). So everything else will work  except how we can generate by category

 

table2 = 
VAR MinNumber = FLOOR([X-3σ],.00001)
VAR MaxNumber = CEILING([X+3σ],.00001)
RETURN
    SELECTCOLUMNS (
        CALENDAR ( MinNumber, MaxNumber ),
        "X", INT ( [Date] )
    )  

 

 

Hola @Mcargo ,

¿No puede hacer esto en el TABLE1 existente?

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Anonymous
Not applicable

If We Can we generate X without creating another table?  I don't know that

 

Hola @Mcargo ,

Sí.

Simplemente intenta etiquetar a la persona en tu respuesta. 🙂

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

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.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.