Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FOCUS - An error occurred in the ‘ftk_LoadData’ query. Expression.Error: We cannot convert the value null to type Table #1083

Open
NavidKhan8 opened this issue Nov 1, 2024 · 4 comments
Assignees
Labels
Status: 🔄️ In progress Implementation is currently in progress Tool: Power BI Power BI reports

Comments

@NavidKhan8
Copy link

We are trying to setup FOCUS PB report using the link https://microsoft.github.io/finops-toolkit/power-bi/focus
FinOps Hub setup completed and .parquet data export conversion completed. From Ingestion setting.json hub version is 0.6

We are able to setup cost summary report but facing issue with FOCUS report.

Error:
An error occurred in the ‘ftk_LoadData’ query. Expression.Error: We cannot convert the value null to type Table.
Details:
Value=
Type=[Type]

There is note mentioned under FOCUS report setup as below
As of FinOps toolkit 0.2, the FOCUS report was merged into the Cost summary report. Both Cost summary and Rate optimization (was Commitment discounts) reports now use FOCUS 1.0 preview. If you would like to use the FOCUS report, you can download it from the FinOps toolkit 0.1.1 release.

Is FOCUS report to be used or should we just use Cost summary report? Tried 0.1.1 release of FOCUS and still an error.

Kindly check and confirm.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Triage 🔍 Untriaged issue needs to be reviewed label Nov 1, 2024
@arthurclares
Copy link
Collaborator

@NavidKhan8 The FOCUS dashboard is only required if you're deploying an early version of Hubs (0.2.1 or 0.1). Any newer version works with FOCUS exports by default. You can deploy any of these dashboards: Cost Summary, Rate Optimization, Workload Optimization or Governance.
https://microsoft.github.io/finops-toolkit/power-bi/cost-summary
I'll open a PR to update the documentation for better clarity.

@arthurclares arthurclares added Status: 🔄️ In progress Implementation is currently in progress Tool: Power BI Power BI reports and removed Needs: Triage 🔍 Untriaged issue needs to be reviewed labels Nov 5, 2024
@arthurclares arthurclares self-assigned this Nov 5, 2024
@arthurclares arthurclares added this to the 2024-11 - November milestone Nov 5, 2024
@NavidKhan8
Copy link
Author

@NavidKhan8 The FOCUS dashboard is only required if you're deploying an early version of Hubs (0.2.1 or 0.1). Any newer version works with FOCUS exports by default. You can deploy any of these dashboards: Cost Summary, Rate Optimization, Workload Optimization or Governance. https://microsoft.github.io/finops-toolkit/power-bi/cost-summary I'll open a PR to update the documentation for better clarity.

Thank you for the clarification. Since we are deploying a newer version of Hubs, we will proceed with the FOCUS exports as they are supported by default. We will also consider deploying the Cost Summary and Rate Optimization dashboards as recommended.

Also one observation, Cost summary report didn't work for me using FinOps hub as data source but worked for my colleague and later found my colleague was running latest Power Bi Desktop version 2.137.1102.0 and I had not so older version but still failed. After installing latest Power Bi Desktop version I'm able to connect & load from FinOps hub datasource data to cost summary report.

@NavidKhan8
Copy link
Author

@arthurclares - Additionally, it would be helpful to include details about the time it takes to load large datasets using Power BI Desktop. For instance, loading 2 GB of data from the FinOps hub data source can take up to 4 hours. I selected a start date of the last 6 months with no end date. Therefore, you might consider updating the documentation to provide steps on how to initially load a smaller dataset, publish it to the workspace, and then update the date range to the last 6 months. Performing a data refresh in the Power BI workspace is significantly faster than doing it locally.

@arthurclares
Copy link
Collaborator

@NavidKhan8 The FOCUS dashboard is only required if you're deploying an early version of Hubs (0.2.1 or 0.1). Any newer version works with FOCUS exports by default. You can deploy any of these dashboards: Cost Summary, Rate Optimization, Workload Optimization or Governance. https://microsoft.github.io/finops-toolkit/power-bi/cost-summary I'll open a PR to update the documentation for better clarity.

Thank you for the clarification. Since we are deploying a newer version of Hubs, we will proceed with the FOCUS exports as they are supported by default. We will also consider deploying the Cost Summary and Rate Optimization dashboards as recommended.

Also one observation, Cost summary report didn't work for me using FinOps hub as data source but worked for my colleague and later found my colleague was running latest Power Bi Desktop version 2.137.1102.0 and I had not so older version but still failed. After installing latest Power Bi Desktop version I'm able to connect & load from FinOps hub datasource data to cost summary report.

@NavidKhan8 Do you happen to have the exact error code you received? It would be good to document it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: 🔄️ In progress Implementation is currently in progress Tool: Power BI Power BI reports
Projects
None yet
Development

No branches or pull requests

3 participants