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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
CookieMonster
Helper I
Helper I

Azure Cost Management connector causing error 'We cannot convert the value null to type Record.'

Ref: https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-connect-azure-cost-management

Azure Cost Management connector causing intermittent error 'We cannot convert the value null to type Record.'

I have this issue intermittently both on Power BI Web and Desktop.

I reproducted on Desktop today by:

  • Create new Power BI file
  • Get Data > Azure Cost Management
  • Scope: Manually Input Scope
  • Scope Identifier: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}
  • Number of Months: 6

I then got the error:

CookieMonster_0-1631178771696.png

So at this point, I have not touched the data tables at all, or done any visuals etc.

Any idea what I can do to resolve this intermittent issue or who I should contact?

5 REPLIES 5
v-janeyg-msft
Community Support
Community Support

Hi, @CookieMonster 

 

vjaneygmsft_0-1631498164908.png

Do you replace {billingAccountId} with real data? 

vjaneygmsft_1-1631498270025.png

Does this problem only occur occasionally? Have you successfully connected and used this data source?

 

Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.


Best Regards,

Community Support Team _ Janey

Yes I replaced {billingAccountId} with my acutal {billingAccountId}.

 

Yes it only occurs, occasionally, sometimes it will refresh fine and all data is available as expected, at other times the refresh fails and I get this error.

Hi,  @CookieMonster 

 

Then it's hard to judge.

I doubt whether the data in the source data doesn't meet the type of column after updating. Have you checked it?

 

Best Regards,

Community Support Team _ Janey

I dont have access to the data source, as its Azure Cost Management Connector.

 

@CookieMonster 

So, Generally it's a problem of data type. I can only help here.

 

Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please provide more details and feel free to ask me.


Best Regards,

Community Support Team _ Janey

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.