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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Analitika
Post Prodigy
Post Prodigy

Measure doesn't affect visual in Power BI

Hi,

 

I would like to ask how make measure which could filter visual in Power BI. Here my created measure:

 

 

 

 

 

Skolu kontrole_pozymis_apyvartumas = 

if(
 (ABS([Pabaigos likutis, eur])<>0 && abs([Pabaigos likutis, vnt.])<>0 ) ||
 (ABS([Pradžios likutis, vnt.])<>0 && ABS([Pradžios likutis, eur])<>0 ) 
  ,  1,0)

 

 

I added to filter pane, condition equal 1.

 

But still it doesn't affect visual in Power BI. So how to resolve this issue? When I applied this filter still see 0 in columns.

3 REPLIES 3
Analitika
Post Prodigy
Post Prodigy

Hi,

 

I would like to ask how to filter data in Power BI in visual that columns containing 0 will be removed. I tried to use in filter pane, that measure is not 0. But unfortunatelly it didn't filter it and some rows with 0 values remained. So how I could implement this in Power BI? Seems filter not responding to condition.

Analitika
Post Prodigy
Post Prodigy

Hi,

 

I would like to ask how I could filter visual that some columns containing 0, rows will be excluded from visual. How I could resolve it?

Visual:

Analitika_0-1666686539612.png

row underlines  should be excluded from visual.

 

I tried to add condition in filter but it didn't help me:

Analitika_1-1666686636043.png

Measure with conditions in filter pane but it didn't help.

Anonymous
Not applicable

Hi @Analitika ,

 

Here you use ABS() function which will return the absolute value of a number. Your issue is that your measure doesn't filter your visual after you set it to show items when value equal 1 in visual level filter. 

Based on your calculation logic, only if there is 0 in both conditions your measure will return 0, or it will return 1. 

Here I suggest you to try to add four measures into your visual to check whether there are 0 in your measures. I think all measures will return value <>0, then your filter measure will always return 1.

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors