We'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
Hey all,
I'm directily connected to the Azure cost management tool from my Power BI Desktop client. Everything works fine, I can and manipulate all of my data when I connect to my specified enrollment number.
My problems begin when I try to edit the Power Query to only filter for cost information in a certain subscription account. When I try to filter down I get the following error:
"
Expression.Error: We cannot convert the value null to type Record.
Details:
Value=
Type=[Type]
"
Doing some quick googling, I saw two proposed solutions: removing all null values from my dataset, or alternatively, changing all null values to text strings to work around this issue. I've tried both, and sadly, neither works. In fact, both proposed solutions actually replicate the same error listed above.
Does anyone know how to fix this issue? Ideally I will be able to an transform my data set to filter for and select only the information I want, rather than import all of the data at once.
Thanks in advance!
@Anonymous, I am facing the same annoying problem. Did you find any solution?
Best regards,
Johannes
Hi @Anonymous,
Can you please share some dummy data to test? It should help us to clarify these and test to troubleshoot them.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
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
Hi @Anonymous,
It may be related to power bi and azure data source connection and corresponding service status. Perhaps you can open a ticket contact to the power bi team to trace the backend status for further support.
submit a support ticket
Regards,
Xiaoxin Sheng
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.
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.
Thanks,
Giulio
Hi,
Did you ever get it to work? I am having the same exact problem. I get the error as soon as I navigate to the table.
encapsulate the offending Power Query statement in a "try" ... "otherwise" bubble.
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 |
|---|---|
| 53 | |
| 38 | |
| 33 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 67 | |
| 63 | |
| 38 | |
| 34 | |
| 22 |