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
tcouey
Frequent Visitor

Value formula to show zeros if blank shows all possible options on a bar chart.

Hi and thank you for any help. 

 

In this screenshot I have a bar chart and a table with 2 columns below it. I am trying to replicate the table below into the bar chart but since I'm using a measure for the y axis of the bar chart, it's including all possible options for "ops_audit_section" and not just the ones associated with that title. 

 

I need it to show zeros where there is no value for avance %, but only for the sections associated with the title (table below)

 

The measure I am using for the y axis is of the bar chart is "

Avance_% = IF(ISBLANK(AVERAGE(_ops_audit_items[Avance_%_])), 0,  AVERAGE(_ops_audit_items[Avance_%_]))

 

I essentially only want the sections associated with the titles to show. In this case I need to get rid of what has a black slash across it. There will be many different titles, with different sections so specifically filtering out the ones in question here isn't preferred.

 

 

 Capture.PNG

 

tcouey_0-1703032019633.png

 

 

2 REPLIES 2
amitchandak
Super User
Super User

@tcouey , You have make those values blank again using a new  logic

 

if( Max(_ops_audit_items[Title])  in {"Fieldvalue", "Planning", "Reporting"},

IF(ISBLANK(AVERAGE(_ops_audit_items[Avance_%_])), 0, AVERAGE(_ops_audit_items[Avance_%_])),

blank())

VER AHORA ➤►🌍📺📱👉 https://ftmovies.xyz/es/movie/572802/Aquaman-y-el-reino-perdido 1080p | No Ads | Mobile Yes & PC

DESCARGAR ➤►🌍📺📱👉 https://ftmovies.xyz/es/movie/572802/aquaman-and-the-lost-kingdom 1080p | No Ads | Mobile Yes & PC

VER AHORA ➤►🌍📺📱👉 https://ftmovies.xyz/es/movie/572802/Aquaman-y-el-reino-perdido 1080p | No Ads | Mobile Yes & PC

DESCARGAR ➤►🌍📺📱👉 https://ftmovies.xyz/es/movie/572802/aquaman-and-the-lost-kingdom 1080p | No Ads | Mobile Yes & PC

VER AHORA ➤►🌍📺📱👉 https://ftmovies.xyz/es/movie/572802/Aquaman-y-el-reino-perdido 1080p | No Ads | Mobile Yes & PC

DESCARGAR ➤►🌍📺📱👉 https://ftmovies.xyz/es/movie/572802/aquaman-and-the-lost-kingdom 1080p | No Ads | Mobile Yes & PC

VER AHORA ➤►🌍📺📱👉 https://ftmovies.xyz/es/movie/572802/Aquaman-y-el-reino-perdido 1080p | No Ads | Mobile Yes & PC

DESCARGAR ➤►🌍📺📱👉 https://ftmovies.xyz/es/movie/572802/aquaman-and-the-lost-kingdom 1080p | No Ads | Mobile Yes & PC

VER AHORA ➤►🌍📺📱👉 https://ftmovies.xyz/es/movie/572802/Aquaman-y-el-reino-perdido 1080p | No Ads | Mobile Yes & PC

DESCARGAR ➤►🌍📺📱👉 https://ftmovies.xyz/es/movie/572802/aquaman-and-the-lost-kingdom 1080p | No Ads | Mobile Yes & PC

VER AHORA ➤►🌍📺📱👉 https://ftmovies.xyz/es/movie/572802/Aquaman-y-el-reino-perdido 1080p | No Ads | Mobile Yes & PC

DESCARGAR ➤►🌍📺📱👉 https://ftmovies.xyz/es/movie/572802/aquaman-and-the-lost-kingdom 1080p | No Ads | Mobile Yes & PC

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.