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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.