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
Amardeep100115
Post Prodigy
Post Prodigy

90 días de utilización

Hola

Por favor, encuentre la hoja adjunta como datos de muestra, por favor ayúdeme con los mismos resultados en BI Por favor

Datos de muestra

AB
14 REPLIES 14
Amardeep100115
Post Prodigy
Post Prodigy

He compartido datos de muestra que me refiero en mi informe, Por favor, ayúdame a tener el mismo resultado

desea tener el promedio semanal de cust, el promedio mensual de Cust y su 90días de pecentile (90 días) como usted creó, pero debe medirse si es posible

Gracias de antemano

como lo he hecho en Excel

Datos de muestra

Por favor

AB
Amardeep100115
Post Prodigy
Post Prodigy

He compartido datos de muestra que me refiero en mi informe, Por favor, ayúdame a tener el mismo resultado

desea tener el promedio semanal de cust, el promedio mensual de Cust y su 90días de pecentile (90 días) como usted creó, pero debe medirse si es posible

Gracias de antemano

como lo he hecho en Excel

Datos de muestra

Por favor

AB

hola @Amardeep100115

los datos de muestra son tan grandes y son datos sin procesar, podría compartir un archivo pbix simple y su salida esperada.

saludos

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Amardeep100115
Post Prodigy
Post Prodigy

Hola @v-lili6-msft

Muchas gracias por tu gran ayuda
Por favor, eche un vistazo a los datos adjuntos en los que iave dar Código de pino, Fecha, Cust .
desea tener el promedio semanal de cust, el promedio mensual de Cust y su 90días de pecentile (90 días) como usted creó, pero debe medirse si es posible

Gracias de antemano

Datos de muestra revisados

AB

hola @Amardeep100115

Si desea un meausre, ajuste la fórmula como se indica a continuación:

Measure 2 =
VAR _90date =
    MINX (
        TOPN (
            91,
            FILTER ( ALL ( Table1 ), Table1[Actual Date] < MAX ( Table1[Actual Date] ) ),
            Table1[Actual Date], DESC
        ),
        Table1[Actual Date]
    )
RETURN
    AVERAGEX (
        FILTER (
            ALL ( Table1 ),
            Table1[Actual Date] < MAX ( Table1[Actual Date] )
                && Table1[Actual Date] >= _90date
        ),
        [Avg Weekly]
    ) * 0.9

y esto llevará un problema total de medida para el contexto de fila de solo mes, así que agregue una nueva medida como se indica a continuación:

Measure 3 = SUMX(VALUES(Table1[Actual Date]),[Measure 2])

Ver este post al respecto
https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

Además, esta Medida Rápida, Medir Totales, La Palabra Final debe obtener lo que necesita:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907

saludos

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hola @v-lili6-msft
Cualquier alcance de ayuda en este caso
AB

Hola @v-lili6-msft
Por favor
ayudar en este
AB
Amardeep100115
Post Prodigy
Post Prodigy

Hi 


please have a look attached file i have entered  my data in Sheet1 table.

i have a measure Avg Wkly and Daily occu

 

Could you please help me with same results in Table one ? with Avg Weekly column and 90% persentile (90 Days) as well)

 

AB

hola @Amardeep100115

¿Quiere decir que Avg Weekly es una medida? No pude ver la columna de Occu diaria también.

Desde el archivo de Excel, debe tener una columna para crear una medida,

es mejor que pueda compartir su archivo pbix de muestra para nosotros tener una prueba. eso será de gran ayuda.

5.JPG

saludos

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-lili6-msft
Community Support
Community Support

hola @Amardeep100115

No veo ninguna salida esperada en este archivo de Excel:

2.JPG

Por favor, comparta su salida esperada en Excel, de esa manera, le daremos más ayuda en power bi.

Por favor, consulte esta publicación sobre cómo obtener respuesta a su pregunta rápidamente:
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

saludos

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hola @v-lili6-msft

Lo sentimos, fike incorrecto publicado

Datos smaple actualizados

También ver los resultados a continuación y hay gráficos en el archivo, deseo tener el mismo gráfico, así

Por favor, ayuda

dasdaw.jpg

AB

hola @Amardeep100115

En primer lugar, hay un error en su archivo de Excel.

•IF([@Day] á "Mon", [@WeekOf], IF([@Day] á "Mar", [@WeekOf]+1, IF([@Day] á "Mie", [@WeekOf]+2, IF([@Day] á "Thur", [@WeekOf]+3, [@WeekOf]+4)))

En tu columna Día, es Thu no Thur.

por favor ajústelo y actualice el archivo de Excel.

En segundo lugar, cree una columna percentil del 90% (90 días) mediante esta fórmula:

90% Percentile = var _90date=MINX(TOPN(91,FILTER(Table1,Table1[Actual Date]<EARLIER(Table1[Actual Date])),Table1[Actual Date],DESC),Table1[Actual Date]) return
CALCULATE(AVERAGE(Table1[Avg Weekly]),FILTER(Table1,Table1[Actual Date]<EARLIER(Table1[Actual Date])&&Table1[Actual Date]>=_90date))*0.9

Resultado:

1.JPG

y aquí está el archivo pbix de muestra, por favor pruébelo.

saludos

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Amardeep100115
Post Prodigy
Post Prodigy

Is it possible to help me with BI file ?

Please

AB
Greg_Deckler
Super User
Super User

@Amardeep100115 - Tal vez esto ayude: https://community.powerbi.com/t5/Community-Blog/Excel-to-DAX-Translation/ba-p/1060991


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.