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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Beth_H
Frequent Visitor

Power Query shows null and table visual shows blanks

Hi there.

 

I have a dataset where I have transformed the data into a pivot table such that it looks like the example below:

 

IdRecordIdAgencyLocationExtensionDepartment
11Bluenullnullnull
21nullLondonnullnull
31nullnullYesnull
42Rednullnullnull
52nullnullYesnull
63nullnullnullNorth
73nullGlasgownullnull
83nullnullYesnull
94Orangenullnullnull
104nullLondonnullnull

 

In Query, the table shows null values, which is what I want. However when I load to desktop and put the table into a table visual, it looks like PBI is duplicating rows.

 

EG. When I pull RecordId and Agency into a table visual, it looks like the below:

 

RecordIdAgency
1 
1Blue
2 
2Red
3 
4 
4

Orange

 

I think the issue is that PBI takes the nulls as BLANK values and thus shows each record id with both a null and an entry for Agency as having two inputs. This is confirmed when I look at the table in Table View as the nulls have been replaced by blanks. 

 

Is there a way to change this?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Beth_H ,

 

According to your statement, I think Power BI will show blank when there is no data in text type column.

Then Power BI will only show only once if multiple rows' data are the same. This is by design and is better for us to show different data.

So your visual will look like as:

RecordId Agency
1  
1 Blue
2  
2 Red
3  
4  
4

Orange

It is better for you to add a unique key column to expand your visual, such as [Id] column.

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Beth_H ,

 

According to your statement, I think Power BI will show blank when there is no data in text type column.

Then Power BI will only show only once if multiple rows' data are the same. This is by design and is better for us to show different data.

So your visual will look like as:

RecordId Agency
1  
1 Blue
2  
2 Red
3  
4  
4

Orange

It is better for you to add a unique key column to expand your visual, such as [Id] column.

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

mickey64
Super User
Super User

I made a matrix, but there are many 'null's in the matrix.

mickey64_0-1720702602504.png

 

I use the 'Filters' pane below.

mickey64_0-1720702046403.png

 

 

Thank you but this isn't quite the issue.

 

When I pull into the table visual, the table doesn't show nulls, it shows blanks. All nulls have disappeared. So your first matric doesn't look like what I have.

 

And, if I try your solution and apply the filter 'Agency is not blank', then when I pull in additional fields I get this result.

RecordIdAgencyLocationExtension Department
1Blue   
2Red   
4Orange   

 

 

I copy your text data in the web page.

These 'null' data are Text-type data in my matrix.

 

In Excel sheet, when you don't input any data and format some cells, these cells are 'blank' data not  'null' data.

 

How about your 'null' data?

Don't you format some cells?

For example, border line...

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.