Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Azure Cost Management - Editor de Power Query Expression.Error No se puede convertir el valor null

Hey todo,

Estoy conectado directamente a la herramienta de administración de costos de Azure desde mi cliente de Power BI Desktop. Todo funciona bien, puedo y manipule todos mis datos cuando me conecto a mi número de inscripción especificado.

Mis problemas comienzan cuando intento editar Power Query para filtrar solo la información de costos en una determinada cuenta de suscripción. Cuando intento filtrar hacia abajo obtengo el siguiente error:

"

Expression.Error: No podemos convertir el valor null al tipo Record.
Detalles:
Valor ?
Tipo [Tipo]

"

Haciendo un poco de googling rápido, vi dos soluciones propuestas: eliminar todos los valores nulos de mi conjunto de datos, o alternativamente, cambiar todos los valores nulos a cadenas de texto para solucionar este problema. He probado ambas cosas, y lamentablemente, ninguna de las dos obras. De hecho, ambas soluciones propuestas replican realmente el mismo error mencionado anteriormente.

¿Alguien sabe cómo solucionar este problema? Lo ideal sería capaz de transformar mi conjunto de datos para filtrar y seleccionar solo la información que quiero, en lugar de importar todos los datos a la vez.

Gracias de antemano!

7 REPLIES 7
Bahneby
Frequent Visitor

@gdurego,estoy enfrentando el mismo problema molesto. ¿Encontraste alguna solución?

Saludos
Johannes

v-shex-msft
Community Support
Community Support

Hola @gdurego,

¿Puede compartir algunos datos ficticios para probar? Debería ayudarnos a hacer pruebas y solucionar problemas.

Cómo obtener respuestas a su pregunta rápidamente
saludos

Xiaoxin Sheng

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

Hey All,

 

Apologies for the delayed response. I believe that there was no issue with my querie, but rather the Azure cost manager data source bugged out. Sometimes I get the aforementioned error, and sometimes, without changing one bit of code, it works perfectly fine. I wonder if it has to do with my connection. At any rate, I've nested my code in the "try otherwise" loop mentioned above. It doens't fix the error, but it makes it less annoying.

 

Thanks for the help

 

Gdurego

Hola @gdurego,

Puede estar relacionado con la conexión de origen de datos power bi y azure y el estado de servicio correspondiente. Tal vez pueda abrir un contacto de ticket al equipo power bi para rastrear el estado del backend para obtener más soporte.

submit a support ticketpresentar un ticket de soporte

saludos

Xiaoxin Sheng

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

Hey @v-shex-msft ,

 

That would be much apprepciated. I can't seem to wrap my head around why this error occures so sporadically. Even when I don't have any transformation steps there are occasions where the data query returns the same error. Other times - with the same data query and the same Power BI Desktop file - it works perfectly fine.

 

gdurego_0-1600885351168.png

 

This is my blank query that sometimes works and sometimes doesn't. 

 

Below is how I connect to the Azure Cost Management tool. For privacy reasons, I have removed the enrollment number. In my query, I use the correct enrollment number, and input 1 for the number of months.

 

gdurego_1-1600885419464.png

 

 

Thanks,

 

Giulio

hola

¿Alguna vez lo hiciste funcionar? Estoy teniendo el mismo problema exacto. Obtengo el error tan pronto como navego a la tabla.

lbendlin
Super User
Super User

encapsular la instrucción De Power Query infractora en un "try" ... burbuja de "de otra manera".

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors