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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

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

2 ACCEPTED SOLUTIONS
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.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

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 🙂

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

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.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

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 🙂

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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