Display N/A When a Power BI Measure Is Blank
Question details
The user wants a Power BI measure to display N/A when its result is blank and show the calculated value otherwise.

- 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.
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.
Create a DAX Display Measure for Blank Results
Use a separate measure to replace blank results with N/A while formatting available values.
In Power BI Desktop, select the table where you want to store the measure, then choose Modeling > New measure.
Enter: Display Measure = VAR valueToDisplay = [Existing Measure] RETURN IF(ISBLANK(valueToDisplay), "N/A", FORMAT(valueToDisplay, "0.00"))
Replace [Existing Measure] with the name of your numeric measure, then press Enter. Change "0.00" if you need a different number format.
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.

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.

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.




