Others

Display N/A When a Power BI Measure Is Blank

Khadija KhanKhadija Khan Dec 2, 2026 869 views

Question details

The user wants a Power BI measure to display N/A when its result is blank and show the calculated value otherwise.

How to Display N/A When a Power BI Measure Is Blank
Product
Microsoft Power BI
Device & OS
not provided
Scenario
A report visual displays a measure that may have no result for the current filter context.
Observed behavior
The desired display is N/A for a blank result and the calculated value when one is available.
Before you start

Identify the existing numeric measure you want to display and the visual that uses it. Decide how many decimal places the nonblank result should show.

Solution 1Recommended

Create a DAX Display Measure for Blank Results

Use a separate measure to replace blank results with N/A while formatting available values.

1
Create a measure

In Power BI Desktop, select the table where you want to store the measure, then choose Modeling > New measure.

2
Enter the DAX formula

Enter: Display Measure = VAR valueToDisplay = [Existing Measure] RETURN IF(ISBLANK(valueToDisplay), "N/A", FORMAT(valueToDisplay, "0.00"))

3
Use your measure name

Replace [Existing Measure] with the name of your numeric measure, then press Enter. Change "0.00" if you need a different number format.

4
Update the visual

Select the report visual and replace the original measure in its fields with Display Measure. Check the visual with filters that produce both blank and nonblank results.

Create a DAX Display Measure for Blank Results
The display measure returns text: FORMAT converts the calculated value to text. Keep the original numeric measure for calculations, numeric sorting, and visuals that require numeric values.
Free Microsoft Office alternative

Review Spreadsheet Data with WPS Office

WPS Office is a free, lightweight alternative for working with Office files in a familiar interface. Open compatible spreadsheets and move existing files into your workflow, though Power BI DAX measures must still be managed in Power BI.

Review spreadsheet data and blank cells in WPS SpreadsheetsOpen and edit Microsoft Excel XLSX filesUse a familiar interface to ease the move from Microsoft OfficeWork with a free, lightweight office suite
QA img-9

Frequently Asked Questions

Can I use a sum instead of an existing measure?

Yes. In Modeling > New measure, replace [Existing Measure] in the formula with SUM('Table'[Field]), using your actual table and field names.

Will this formula display N/A when the value is zero?

No. ISBLANK checks for a blank result, not zero, so a zero value displays as 0.00 with the example format.

Why can't I use the display measure for numeric calculations?

The FORMAT function returns text, so the display measure is intended for presentation. Use the original numeric measure in calculations and visuals that require numbers.

How do I change the number of decimal places?

Edit the measure in the formula bar and change the FORMAT pattern. For example, use "0" for no decimal places or "0.000" for three.