Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Buenas tardes, me podrian ayudar, tengo un inconveniente, estoy utilizando un objeto visual (tarjeta) como menu desplegable, el cual contiene meses, desde enero a julio, cuando selecciono por mes los porcentajes mensuales son correctos, pero al seleccionar todo a trave del menu desplegable el porcentaje total es incorrecto, que formula tendria que utilizar o que opcion deberia de manejar para que al seleccionar la opcion seleccionar todos el porcentaje sea correcto.
Lo porcentajes totales correctos que deberian de mostrarse son estos:
Solved! Go to Solution.
Buen dia, gracias a su ayuda ahora se muestran todo los porcentajes en forma correcta.
Muy agradecido
Hi @Marc_Real ,
May I ask if you have resolved this issue? Please let us know if you have any further issues, we are happy to help.
Thank you.
Hola Buenas tardes
Me podrias ayudar, tengo una serie de datosn de los cuales solo quiero que una cenda me muestre un numero entero, los demas en %
Solo la fila de los datos subrayados con rojo deseo que sean numeros enteros, los demas en porcentajes.
Agradecido
Hi @Marc_Real ,
In Power BI, formatting is applied at the measure level, not at the individual row level. However, you can achieve different formats within the same column by using a workaround with a dynamic measure, where the specific row is identified using a column such as INDICADORES.
For a more robust and production-ready solution, it is recommended to use Dynamic Format Strings (available in the latest versions of Power BI Desktop or via Tabular Editor).
Keep your original measure as a numeric value
Go to Model view
Select the measure
Under Format > fx (Dynamic format string), apply the following:
SWITCH(
TRUE(),
SELECTEDVALUE('YourTable'[INDICADORES]) = "CI-OC01 Oportunidad del Envรญo de Informaciรณn Prestacional al SIS",
"0",
"0.00%"
)
Values remain numeric, sorting works correctly and aggregations behave as expected. This approach ensures flexibility in formatting without compromising data integrity or performance.
Thank you.
Hi @Marc_Real ,
Weโd like to follow up regarding the recent concern. Kindly confirm whether the issue has been resolved, or if further assistance is still required. We are available to support you and are committed to helping you reach a resolution.
Best Regards,
Chaithra E.
Buen dia, gracias a su ayuda ahora se muestran todo los porcentajes en forma correcta.
Muy agradecido
Hi @Marc_Real ,
Thank you for confirming that your issue has been resolved. If you have any further questions or need additional assistance, feel free to reach out. We're here to help! Please don't hesitate to post again if you have any other issues.
Thank you!
Buenas tardes: gracias por su gran ayuda, se ha podido solucionar los % totales de sobrestock, normostock, Sin Rotacion, Substock, Desabastecido, con la formula que usted me envio, sin embargo el porcentaje % DME, aun no me refleja el valor correcto.
Muy agradecido por su ayuda
Hi @Marc_Real ,
Thank you for providing the update.
Try using this measure
% Sobrestock (Correct) =
AVERAGEX( SUMMARIZE( 'farmacia', 'farmacia'[MESANO],
"CantNom", CALCULATE(COUNT('farmacia'[CODIGO_MED])),
"CantNA", CALCULATE(COUNTROWS('farmacia'), 'farmacia'[INDICADOR] = "NO APLICA"),
"CantSS", CALCULATE(COUNTROWS('farmacia'), 'farmacia'[INDICADOR] = "SOBRESTOCK")),
DIVIDE([CantSS], [CantNom] - [CantNA])).
You must replace "SOBRESTOCK" with other indicators to replicate for Normostock, Substock, etc.
Make sure your MESANO field has no duplicate months (if using different years).
Regaards,
Chaithra E.
Buenas tardes, una consulta, que medida podria utilizar para que en mi objeto de datos de graficos de anillos, solo me muestre, las cifras reales, tengo en el item ACICLOVIR 400 mg TABLETA, 08 Items en total, de los cuales 05 son Sobrestock y 03 Desabastecidos
Sin embargo en mi grafico de anillos me muestra de esta forma errada:
No se de donde me esta saliendo esa informacion con error, si en la tabla en el item ACICLOVIR 400 mg TABLETA, no tengo ningun dato de substock
Hi @Marc_Real ,
Confirm the chart is linked exclusively to the dataset for ACICLOVIR 400 mg TABLETA.
Ensure no other items or rows are being included due to incorrect filters or ranges.
Look for any unintended fields like "substock" that might be contributing additional values.
Remove or exclude these from the chartโs data range.
If you're using custom formulas to calculate "Overstock" and "Out of Stock", double-check the logic.
Make sure each condition is correctly defined and not pulling from unrelated columns or datasets.
If you're using custom formulas to calculate "Overstock" and "Out of Stock", double-check the logic.
Make sure each condition is correctly defined and not pulling from unrelated columns or datasets.
Ensure the chartโs filter criteria are correctly set to isolate only the relevant item.
Hope this helps.
Chaithra E
Hola, buenos dias
Me podrias ayudar a saber que filtro de texto es este? o si esta en el menu de objetos visuales para poder aplicarlo porfavor, muy agradecido por su atencion
Hi @Marc_Real ,
Yes, the visual in the image shows a slicer that allows you to filter a dataset based on text input. The user is able to type in "aciclovir" to filter the results. This is a text-based slicer where you can filter a list of items based on partial text matching.
Select the "Slicer" visual from the visualizations pane.
Drag the field (such as "PRODUCTOS") into the slicer. This will allow you to filter the list based on the text input.
This slicer lets you search for specific values (like "aciclovir" in the example) and filter data accordingly.
Thank you.
Hi @Marc_Real ,
Make sure that in your dataset, there are no empty or error values in the column related to substock. Ensure that rows with no substock are marked as null or that the value is explicitly empty. If an erroneous value, like 0 or N/A, is being treated incorrectly, the chart might be interpreting these as valid data for substock.
It's possible that the chart is incorrectly calculating the total substock. Ensure that your chart calculation logic includes only valid categories for sobrestock and desabastecido. If substock has no data, exclude it from the chart. Make sure that only sobrestock and desabastecido values are being calculated correctly.
Thank you.
He tratado de utilizar las funciones SUMMARIZE convinada con SUM y no logro obtener el resultado correcto,
la columna que estoy contando es codigo_med, utilizando la siguiente medida
calculando la cantidad del indicador :
y estoy utilizando para calcular el % por indicador(Sobrestock, normostock, substock, etc)
"Think like the Grand Total" - create your measures with the assumption that multiple values are selected, and use SUMMARIZE or SUMMARIZECOLUMNS for that, combined with SUMX etc. Once implemented, the measures will then also work for single selections.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 9 | |
| 8 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 23 | |
| 14 | |
| 10 | |
| 6 | |
| 5 |