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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Jungbin
Frequent Visitor

Why Blank Row Is Created?

Hi there!

 

I have two tables: People, Information. And they have a 1 : Many relationship by [Name] field.

I also made a Measure below:

# of ID Created in 2023 = CALCULATE(COUNTA('Information'[ID])+0,'Information'[Created Date]>=DATE(2023,1,1))

 

Though I don't have a blank cell in my [Team] Column in 'People' table, the Power BI matrix keeps returning me a blank row with 0.

Does anyone know why this happens? Plus, I want that row to be excluded from my matrix without touching Filter. Is it possible?

 

Blank Row.png

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Jungbin 
It happens because you are adding 0.
So to resolve it you need to create the formula without "+0" or to filter out the blank row from the filter pane.
The filter can be blocked and invisible to the user.

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

View solution in original post

4 REPLIES 4
mickey64
Super User
Super User

I use same DATA and make same matrix.

But there is no blank row in the matrix made by me.

I think you made some relationships to other tables.

I think the cause of the problem lies in those relationships.

 

mickey64_1-1695561204947.png

 

mickey64_0-1695561153362.png

 

Ritaf1983
Super User
Super User

Hi @Jungbin 
It happens because you are adding 0.
So to resolve it you need to create the formula without "+0" or to filter out the blank row from the filter pane.
The filter can be blocked and invisible to the user.

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

Hi, @Ritaf1983

 

Thanks for your comment. Now, the blank row disappeared after deleting "+0".

I want to keep "+0" in my formula to show "0" next to "Others" team in my result matrix.

So, in this case, to filter out the blank row from the filter pane would be the only possible option, right?

Hi @Jungbin 
Seems like "yep" about the filter pane, even if it is not the only possible, it is definitely the easiest option.

Glad to help 🙂

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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