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

Visual de tarjeta

Filtros visuales de tarjeta: después de publicar el informe, los filtros aplicados no parecen funcionar correctamente, el objeto visual se muestra tal cual con filtros que aún se aplican. Esto sucede normalmente después de que el informe se publica & se actualiza ya sea a través de una programación o manualmente desde dateset, mis filtros visuales de la tarjeta aplicada tienen valores "Verdadero" o "Falso", en mi investigación noté nuevos valores de filtro: "-1" & "0" en lugar de "Verdadero" o "Falso" y esa es la razón por la que los filtros aplicados originalmente ya no funcionan entonces me vi obligado a volver a aplicar los filtros en la nube para el mismo informe y esta vez alrededor de mi nuevo filtro valores son "-1" o "0" en lugar de "True" o "False". ¿Hay alguna razón específica por la que esto está sucediendo?

2 ACCEPTED SOLUTIONS

Hola @MatlolHG

Esto puede deberse a los datos presentes en esa columna o medida que es un True/False no válido.

Siempre uso 1 y 0 para ese caso y creo una función para mostrar true para 1 y false para 0

IF([COL]-1,"True","False")





PBI_SuperUser_Rank@1x.png


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

View solution in original post

Anonymous
Not applicable

Hola @pranit828

Lo sentimos por el retraso en la respuesta

Como usted aconsejó,

Agregué una nueva columna condicional para cambiar los valores de los atributos de escritorio de "True" o "False" a "0" o "-1" y reedité el informe.

Power Query Used: Table.AddColumn(-"Filtered Rows", "ColumnName", each if [ColumnName] á true then 0 else if [ColumnName] á false then -1 else null)

View solution in original post

8 REPLIES 8
v-yiruan-msft
Community Support
Community Support

Hola @MatlolHG ,

¿Podría proporcionar el campo o la medida que se aplica en la tarjeta visual y su fórmula con el fin de hacer la solución de problemas? Además de eso, proporcione la captura de pantalla sobre la configuración del panel Filtro. Gracias.

Saludos

Rena

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

Hi @v-yiruan-msft 

 

Although I marked the problem "resolved" I still have this question, why is the card visual converting text values to numeric values

 

1. Data attributes values

MatlolHG_0-1597926219800.png

 

2. Applied filters before publishing the report to the cloud

MatlolHG_2-1597926317784.png

3. Filter values after publishing the report

MatlolHG_3-1597926448656.png

 

Point 3) above demonstrate why the applied filters were not effective after publishing the report to the cloud

 

pranit828
Community Champion
Community Champion

Hola @MatlolHG

Por favor, compruebe si tiene el tipo de datos como se muestra a continuación. SI no, por favor cambie y vuelva a intentar

pranit828_0-1597861953428.png





PBI_SuperUser_Rank@1x.png


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
Anonymous
Not applicable

Hi @pranit828

Thanks for the response, I get visual error when changing data type to "True/False" Error: The function count cannot work with values type boolean

Hola @MatlolHG

Esto puede deberse a los datos presentes en esa columna o medida que es un True/False no válido.

Siempre uso 1 y 0 para ese caso y creo una función para mostrar true para 1 y false para 0

IF([COL]-1,"True","False")





PBI_SuperUser_Rank@1x.png


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
Anonymous
Not applicable

Hola @pranit828

Lo sentimos por el retraso en la respuesta

Como usted aconsejó,

Agregué una nueva columna condicional para cambiar los valores de los atributos de escritorio de "True" o "False" a "0" o "-1" y reedité el informe.

Power Query Used: Table.AddColumn(-"Filtered Rows", "ColumnName", each if [ColumnName] á true then 0 else if [ColumnName] á false then -1 else null)

amitchandak
Super User
Super User

@MatlolHG , Normalmente, estos errores de republicación desaparecen con borrar la caché y actualizar. Mira eso, si esto puede funcionar para ti.

Anonymous
Not applicable

Hola

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.