Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
GeorgeColl
Helper II
Helper II

Add a row with custom value in Report Builder

I have the following code currently pulling through a list of names, these go in as a parameter option in my report.

 

EVALUATE SUMMARIZECOLUMNS('CAClaims'[Insured Name Simplification])
ORDER BY 'CAClaims'[Insured Name Simplification]

 

I need to add an option such as "  _No value exists" so that nothing is pulled through. I've seen that UNION would work, but I'm unsure how to create a table with a single row and specific value.

 

 

For clarification:

 

Currently I have the following, where all values come from my data source:

Insured Name Simplification
A
B
C

 

I would like to have the following, where "  _No value exists" is added manually in the query:

Insured Name Simplification
  _No Value Exists
A
B
C

 

 

2 ACCEPTED SOLUTIONS
Akash_Varuna
Super User
Super User

Hi @GeorgeColl You can use UNION to add a custom row manually. Something like this:

EVALUATE
UNION(DISTINCT('CAClaims'[Insured Name Simplification]), ROW("Insured Name Simplification", "_No Value Exists"))
ORDER BY 'Insured Name Simplification'

This combines the distinct values with a manually created row _No Value Exists, then sorts the result.

View solution in original post

DataNinja777
Super User
Super User

Hi @GeorgeColl ,

 

To add a custom row like " _No Value Exists" to your list of values in DAX, you can use the UNION function to combine your original dataset with a manually created one-row table. This is useful when you want to include a default or placeholder option in your parameter list in Report Builder.

The key to achieving this is the ROW function, which lets you define a table with a single row and one or more columns. In your case, you only need one column — Insured Name Simplification — and one value for that column.

Here's how you can modify your existing query:

EVALUATE
UNION(
    ROW("Insured Name Simplification", "  _No Value Exists"),
    SUMMARIZECOLUMNS('CAClaims'[Insured Name Simplification])
)
ORDER BY [Insured Name Simplification]

This query will return a table with your original insured names from the CAClaims table, along with one additional row that has the custom value " _No Value Exists". The ORDER BY ensures that the list appears sorted, and your custom entry will be positioned accordingly, depending on its alphabetical order.

If you plan to make this value behave differently — for example, not applying a filter when selected — you'll need to account for it in your measures or filtering logic. But for the purpose of simply adding it to the dropdown list, this query does exactly what you need.

 

Best regards,

View solution in original post

2 REPLIES 2
DataNinja777
Super User
Super User

Hi @GeorgeColl ,

 

To add a custom row like " _No Value Exists" to your list of values in DAX, you can use the UNION function to combine your original dataset with a manually created one-row table. This is useful when you want to include a default or placeholder option in your parameter list in Report Builder.

The key to achieving this is the ROW function, which lets you define a table with a single row and one or more columns. In your case, you only need one column — Insured Name Simplification — and one value for that column.

Here's how you can modify your existing query:

EVALUATE
UNION(
    ROW("Insured Name Simplification", "  _No Value Exists"),
    SUMMARIZECOLUMNS('CAClaims'[Insured Name Simplification])
)
ORDER BY [Insured Name Simplification]

This query will return a table with your original insured names from the CAClaims table, along with one additional row that has the custom value " _No Value Exists". The ORDER BY ensures that the list appears sorted, and your custom entry will be positioned accordingly, depending on its alphabetical order.

If you plan to make this value behave differently — for example, not applying a filter when selected — you'll need to account for it in your measures or filtering logic. But for the purpose of simply adding it to the dropdown list, this query does exactly what you need.

 

Best regards,

Akash_Varuna
Super User
Super User

Hi @GeorgeColl You can use UNION to add a custom row manually. Something like this:

EVALUATE
UNION(DISTINCT('CAClaims'[Insured Name Simplification]), ROW("Insured Name Simplification", "_No Value Exists"))
ORDER BY 'Insured Name Simplification'

This combines the distinct values with a manually created row _No Value Exists, then sorts the result.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.