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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Formatting of values, which need to be excluded

I got following use case:

 

We´ve made a survey, to collect corporate environment data. This survey consists basically of 15 questions, where the answers reach from (1=very poor to 5= very good). We now got the situation, that a bunch a survey participants forgot to answer all questions. If there´s no answer for one of the questions, we used a "0" value in data processing.

 

So basically my data model in the PowerQuery editor looks like this example:

data extract.jpg

[n] is the index of the question, and the value describe the given answers.

 

Later in the visuals, i want all answers to a question to be excluded, if the value = "0", because otherwise it would distort the results. -> If i use any MEAN oder SUM function in the visualizations, the 0 would be included by default.

 

How can i exclude these values? Formatting them as "0" was necessary to set the column type to "number".

Before formatting the value of all 0 was "no answer!".

 

I can´t just remove the whole row, because in most cases the other 14 questions are answered and need to be included in the data model.

 

 

1 ACCEPTED SOLUTION
dharmendars007
Memorable Member
Memorable Member

Hello @Anonymous , 

 

You can either replace the 0 with null values by selecting the entire table or select the entire table and Unpivot the same and filter out 0

 

dharmendars007_1-1726138877279.png

 

dharmendars007_2-1726138927624.png

 

dharmendars007_3-1726138958341.png

 

If you find this helpful , please mark it as solution and Your Kudos are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

 

 

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Edit: It seems, that the replacement of 0 with "null" solved the issue!

dharmendars007
Memorable Member
Memorable Member

Hello @Anonymous , 

 

You can either replace the 0 with null values by selecting the entire table or select the entire table and Unpivot the same and filter out 0

 

dharmendars007_1-1726138877279.png

 

dharmendars007_2-1726138927624.png

 

dharmendars007_3-1726138958341.png

 

If you find this helpful , please mark it as solution and Your Kudos are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

 

 

 

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.