Welcome to the PowerBI custom visual that creates NLP (Natural Language Processing) analysis for the data on your dashboards! This project is designed to enhance your PowerBI dashboards by using NLP analysis from OpenAI's GPT to understand your data. Now you can ask questions about your data and get intelligent and insightful answers! 💡
Medium post for full details about this project 💯
Follow these steps to install the custom visual and make changes as desired:
Make sure you have git installed locally and run the following command:
git clone https://github.com/jegamboafuentes/powerBIVisual_NLP_by_OpenAIGPT
Navigate to the project directory:
cd powerBIVisual_NLP_by_OpenAIGPT
Create a config.json
file in the project directory with the following code:
{
"OPENAI_API_KEY": "*-*your-openai-key*-*"
}
Make sure to replace *-*your-openai-key*-*
with your actual OpenAI API key.
To package the custom visual, execute this command:
pbiviz package
After running the command, a dist/
folder will be created. To import the custom visual, follow these steps:
- Open PowerBI Desktop.
- Go to
Home > Visualizations > Import a custom visual > Import from file
. - Navigate to the
dist/
folder, and select the.pbiviz
file.
Congratulations! The custom visual should now be available in your PowerBI Desktop! 🎉
To make changes to the project, simply use this command:
pbiviz start
To test the changes in PowerBI.com, follow these steps:
- Go to PowerBI.com and sign in.
- Enter your workspace, then click on
Settings
. - Open the
Developer
section and enable theDeveloper visuals
setting. - Return to your report, and you should see the
Developer
tab in theVisualizations
pane. - The custom visual will automatically sync with the changes made locally.
Now you can personalize the custom visual as needed, while testing it in PowerBI.com!