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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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