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.
Nuevo en Power BI: necesita ayuda.
Tengo un cálculo muy básico que porcentaje entre -100% y 1,000% - Estoy tratando de agruparlos así en un modelo ya que tengo 13.000 registros cada uno con un percetange diferente.
Ya he tomado mi QTY disponible y Establecer valor de stock de seguridad y he completado el % sobre o bajo valor de stock de seguridad. Whcih es el %.
Desea agrupar o agrupar estos en un rango:
Grupo | Bajo | Alto | |
El stock de seguridad se ha ido | -100% | -100% | anythin que cae entre estos dos % añadido ido a la nueva columna |
75% del stock de seguridad se ha ido | -75% | -99% | |
50% del stock de seguridad se ha ido | -50% | -74% | |
25% del stock de seguridad se ha ido | -25% | -49% | |
Acaba de entrar en SS | 0% | -24% | |
25% por encima del stock de seguridad | 1% | 25% | |
50% por encima del stock de seguridad | 26% | 50% | |
75% por encima del stock de seguridad | 51% | 75% | |
100% por encima del stock de seguridad | 76% | 1000000% |
Solved! Go to Solution.
Hola @Mikester_104 ,
Si lo obtuve correctamente, puede crear esta columna calculada utilizando la instrucción switch():
Group =
SWITCH (
TRUE (),
'Table'[% into SS] = -1, "Safety Stock Gone",
'Table'[% into SS] >= -0.99
&& 'Table'[% into SS] <= -0.75, "75% of Safety Stock Gone",
'Table'[% into SS] >= -0.74
&& 'Table'[% into SS] <= -0.5, "50% of Safety Stock Gone",
'Table'[% into SS] >= -0.49
&& 'Table'[% into SS] <= -0.25, "25% of Safety Stock Gone",
'Table'[% into SS] >= -0.24
&& 'Table'[% into SS] <= 0, "Just Entered into SS",
'Table'[% into SS] >= 0.1
&& 'Table'[% into SS] <= 0.25, "25% Above Safety Stock",
'Table'[% into SS] >= 0.26
&& 'Table'[% into SS] <= 0.5, "50% Above Safety Stock",
'Table'[% into SS] >= 0.51
&& 'Table'[% into SS] <= 0.75, "75% Above Safety Stock",
'Table'[% into SS] >= 0.76
&& 'Table'[% into SS] <= 10000, "100% Above Safety Stock",
"No corresponded data"
)
Best Looks,
Yingjie Li
Si este post ayuda, por favor considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
Hola @Mikester_104
Puede registrar la entrada y salida de muestra para estos registros.
saludos
Pranit
Hope it resolves your issue? Did I answer your question? Mark my post as a solution! Appreciate your Kudos, Press the thumbs up button!! Linkedin Profile |
Sku | Descripción | On Hand | Stock de seguridad | % en SS | ||
1234 | Cepillo de dientes | 100 | 200 | -50.00% | ||
1111 | Dental Floss | 500 | 200 | 150.00% | ||
4321 | Crema dental | 50 | 500 | -90.00% |
Hola @Mikester_104 ,
Si lo obtuve correctamente, puede crear esta columna calculada utilizando la instrucción switch():
Group =
SWITCH (
TRUE (),
'Table'[% into SS] = -1, "Safety Stock Gone",
'Table'[% into SS] >= -0.99
&& 'Table'[% into SS] <= -0.75, "75% of Safety Stock Gone",
'Table'[% into SS] >= -0.74
&& 'Table'[% into SS] <= -0.5, "50% of Safety Stock Gone",
'Table'[% into SS] >= -0.49
&& 'Table'[% into SS] <= -0.25, "25% of Safety Stock Gone",
'Table'[% into SS] >= -0.24
&& 'Table'[% into SS] <= 0, "Just Entered into SS",
'Table'[% into SS] >= 0.1
&& 'Table'[% into SS] <= 0.25, "25% Above Safety Stock",
'Table'[% into SS] >= 0.26
&& 'Table'[% into SS] <= 0.5, "50% Above Safety Stock",
'Table'[% into SS] >= 0.51
&& 'Table'[% into SS] <= 0.75, "75% Above Safety Stock",
'Table'[% into SS] >= 0.76
&& 'Table'[% into SS] <= 10000, "100% Above Safety Stock",
"No corresponded data"
)
Best Looks,
Yingjie Li
Si este post ayuda, por favor considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
Hola
¿Está buscando una solución de medida o columna calculada?
@Mikester_104, no muy claro. ver si la segmentación dinámica
https://www.daxpatterns.com/dynamic-segmentation/
https://radacad.com/grouping-and-binning-step-towards-better-data-visualization
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |