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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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