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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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