Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
datos | Resultado necesario | ||||||
oportunidad | categtegory | Arr | inicio de la semana | TOPN- confirmar | TOPN- al alza | ||
a | cometer | 1000 | 5/7/2021 | 2 | |||
b | cometer | 24434 | 5/7/2021 | 1 | |||
h | lado positivo | 1000 | 5/7/2021 | 2 | |||
c | lado positivo | 3424 | 5/7/2021 | 1 | |||
d | cometer | 0 | 6/7/2021 | 2 | |||
e | lado positivo | 244324 | 6/7/2021 | 1 | |||
f | cometer | 231 | 6/7/2021 | 1 | |||
g | lado positivo | 4355 | 7/7/2021 | 1 | |||
h | cometer | 214324 | 7/7/2021 | 1 | |||
j | cometer | 342 | 7/7/2021 | 2 | |||
k | lado positivo | 3525 | 7/7/2021 | 2 |
Necesita ayuda para multar las 10 mejores oportunidades para "comprometerse" y top5 para "upside" según ARR para cada inicio de semana.
=> creado la lógica mencionada a continuación, pero no se considera el inicio de la semana y dará TON para datos completos.
También está ignorando ARR=0 mientras rastrilla las oportunidades, no capaz de undertsand la razón.
Solved! Go to Solution.
Por favor, intente utilizar la siguiente medida:
Upside_top_weekly_5 =
VAR RANKING2 =
IF (
Opportunity[Category] = "Upside"
&& Opportunity[ARR] <> BLANK (),
RANKX (
ALL ( Opportunity[Opportunity] ),
CALCULATE (
SUM ( Opportunity[ARR] ),
FILTER (
Opportunity,
Opportunity[Category] = "Upside"
&& Opportunity[ARR] <> BLANK ()
)
),
,
DESC,
DENSE
),
BLANK ()
)
RETURN
IF ( RANKING2 < 6, RANKING2, BLANK () )
Si esta publicación ayuda, entonces por favor considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
Saludos
Dedmon Dai
Creo que esto será más sencillo si lo divides en un par de medidas.
Creé un [Upside ARR] para devolver solo el valor de ARR para category = upside
Por favor, intente utilizar la siguiente medida:
Upside_top_weekly_5 =
VAR RANKING2 =
IF (
Opportunity[Category] = "Upside"
&& Opportunity[ARR] <> BLANK (),
RANKX (
ALL ( Opportunity[Opportunity] ),
CALCULATE (
SUM ( Opportunity[ARR] ),
FILTER (
Opportunity,
Opportunity[Category] = "Upside"
&& Opportunity[ARR] <> BLANK ()
)
),
,
DESC,
DENSE
),
BLANK ()
)
RETURN
IF ( RANKING2 < 6, RANKING2, BLANK () )
Si esta publicación ayuda, entonces por favor considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
Saludos
Dedmon Dai
Por favor, intente utilizar la siguiente medida:
Upside_top_weekly_5 =
VAR RANKING2 =
IF (
Opportunity[Category] = "Upside"
&& Opportunity[ARR] <> BLANK (),
RANKX (
ALL ( Opportunity[Opportunity] ),
CALCULATE (
SUM ( Opportunity[ARR] ),
FILTER (
Opportunity,
Opportunity[Category] = "Upside"
&& Opportunity[ARR] <> BLANK ()
)
),
,
DESC,
DENSE
),
BLANK ()
)
RETURN
IF ( RANKING2 < 6, RANKING2, BLANK () )
Si esta publicación ayuda, entonces por favor considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
Saludos
Dedmon Dai
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.