Power BI Examples

A collection of interesting Power BI examples with DAX and Power Query code.

How to Use These Examples

  1. Download and open the .pbix file using Power BI Desktop
  2. Modify the example to fit your specific needs

or

  1. Copy and modify the DAX and/or Power Query code to fit your data

How to use DAX code

Notice that in DAX we are referencing other data with the syntax Table[Column].

For the code to work with your data you will need to rename the references in the code to match your data or rename your table and columns to match the code.

How to use Power Query code

In general I provide code that generates sample data. To apply the code to your data, you will need to replace the sample data with your own data. An LLM tool should be able to help you with this (e.g. Cursor, Gemini, Claude, chatGPT).

Additional Help

For additional help, please first take a look at the official documentation or ask your LLM to do so:

General Power BI Documentation

DAX Reference

Power Query Documentation

Finally, if you get stuck, you can ask a question on the Official Power BI Forums.

Author

This project is created and maintained by Josh Levent. I am a Power BI architect, developer and consultant. I have no affiliation with Microsoft.

License

This project is licensed under the MIT License - see the License file for details.