Wednesday, June 4, 2025

Power BI - How to use Blank Query to create a report

In Power BI, a Blank Query allows users to create a table or dataset manually using M code in the Power Query Editor — without needing
a connected data source.

Following are the Use Cases & Benefits of using the Blank Query:

  1. Ideal for mock data creation, manual lookup tables, or custom calendars.

  2. Great for demos, testing calculations, or building logic before data arrives.

  3. Helps in creating quick what-if scenarios or manually entered mappings.


Following are the steps to create a report using the Blank Query:

  1. Open Power BI → Go to Home > Get Data > Blank Query

  2. In the Query Editor → Click on Advanced Editor & Paste the M code for your requirement.

  3. We have created below code for World Clock to display current time for each continent (Clock):


  1. Create the Report using the data provided by the query. Below is the sample report that we have created with the query:



No comments:

Post a Comment