Skip to main content

Blank Values

Power BI ignores blank values as default

Show items with no data in Power BI - Power BI | Microsoft Learn

How to handle blank values?

When you have blank values in your data like this:

Process IdEvent IdNext Event IdEvent Label
Process With Blank Values1020A
Process With Blank Values2030B
Process With Blank Values3040
Process With Blank Values4050D
Process With Blank Values50E


Process is broken due Power BI ignores blank values as default.

Before

There are two ways to fix this:

Fix the Data

The best way to fix the issue is to correct the data itself. If possible, make the corrections directly in the source system from which the data is queried into Power BI.

If fixing the data in the source system is not possible, you can handle it in Power Query by replacing blank values.

Select the column

Right-click the column header where blanks are found, and choose 'Replace Values'.

Replace values

Fill the Replace Values Dialog Box

In the Value To Find field, enter 'null' (Power Query uses term 'null' for blank values).

In the Replace With field, enter the value you want to use in place of blanks.

Replace blanks

All set!

Now there are no more blanks in the data...

Replaced values

and process is not broken.

Process

Show Items With No Data

Other option to fix the issue is to set "Show items with no data" checked to Event Id and Next Event Id

Show items with no data Event Id Show items with no data Next Event Id

After this, process can be seen normal.

After

TIP

You can set value to be show in blanks from settings (Dev Tools -> Blank Values).

See sample report for example (can be downloaded from AppSource).