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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

How to remove blank rows in the column which is created by DAX?

Hi Experts,

I am working on the scenario like creating matrix table and added 3 rows , but in that rows i am having blank values in the column , so it is showing nothing when it expanded as below :

dinesharivalaga_0-1720499406422.png

Those blank spces are related to the below tables parameter only .. i cannot remove this blindly because the other data on this tables will also excluded in the matrix . this "tables" was a new column created by using New Column .. so we cannot perform actions from Power Query. Tried with filter pane options (is not blank) but still other fields are affecting 😞

 

dinesharivalaga_1-1720499429815.png

 

So without impacting other fields how come i fix this ? Sharing the table view and DAX here :

 

tables = if(DN_Customer[COGS (groups) (groups)] in {"Revenue","COGS","Gross Profit"},DN_Customer[Business Segment L4],if(DN_Customer[COGS (groups) (groups)]="SG&A"&&[Type]<>"Segment SG&A","Enablement Functions Subtotal SG&A",if(DN_Customer[COGS (groups) (groups)]="SG&A"||[Type]="Segment SG&A","Segment SG&A")))
 
dinesharivalaga_2-1720499644621.png

 

Thanks

DK

 

1 ACCEPTED SOLUTION
Irwan
Super User
Super User

Hello @Anonymous 

 

you can filter out those blank value via filter pane.

in this dummy data, column 3 has two blank value which is 2 and 4.

Irwan_0-1720500692621.png

 

After being filtered out, the value 2 and 4 are gone.

Irwan_2-1720500818046.png

 

since this is just visual filter, it will not affect any calculation.

 

if this doesnt solve your problem, perhaps you need to remove those blank value by SUMMARIZE the table.

 

Hope this will help you.

Thank you.

 

View solution in original post

1 REPLY 1
Irwan
Super User
Super User

Hello @Anonymous 

 

you can filter out those blank value via filter pane.

in this dummy data, column 3 has two blank value which is 2 and 4.

Irwan_0-1720500692621.png

 

After being filtered out, the value 2 and 4 are gone.

Irwan_2-1720500818046.png

 

since this is just visual filter, it will not affect any calculation.

 

if this doesnt solve your problem, perhaps you need to remove those blank value by SUMMARIZE the table.

 

Hope this will help you.

Thank you.

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.