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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Analitika
Post Prodigy
Post Prodigy

Hide Columns with no data

I have measure

 

Measure=

VAR val1 = IF (
ISINSCOPE(Table1[Names]),
BLANK(),
                                FORMAT ( [MesureDivide], "0.00%" )
)
VAR val2 = [COGS]
                            
RETURN

SWITCH( SELECTEDVALUE(Table3[Surnames])
,"Sales",   val1
,"COGS",   val2
,BLANK()
)
 
But it return blanks or empty values which not hiding and not possible to filter
 
Analitika_0-1611060873950.png

 

 

How to hide thoose rows and columns? Problems seam with FORMAT functions, as without it everything work fine, but not showing %

4 REPLIES 4
Anonymous
Not applicable

Hello @Analitika ,
Instead of format try like this 

[MesureDivide] &"0.00%"

@Anonymous

Not work as showing zeroes value

Analitika_0-1611063264341.png

 

 

Anonymous
Not applicable

Can you just check this [MesureDivide] and instead of format return this [MesureDivide] and check are you getting the expected value?

Then everything works instead of formating to %

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.