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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
rogerdea
Helper IV
Helper IV

Only show days with values in a chart

Hello

 

I have a visual where at weekends there is no data, which is correct.  I would like to remove any days where there's 0 records. (so in this visiual remove 10th & 11th July).   Occasionally there is overtime so it could be possible to have weekend values, so was thinking just removing weekends won't work.

 

How can i only show dates where there are > 0 records.  I tried filtering the data where number of records > 0 but it didnt work.  what would be the approach?

 

rogerdea_0-1626965311858.png

 

any ideas?

Roger

 

1 ACCEPTED SOLUTION
rogerdea
Helper IV
Helper IV

Eventually figured out the easy way to fix this, on the X axis changing the type from Continuous to Categorical removed all the days with 0 values.

View solution in original post

4 REPLIES 4
rogerdea
Helper IV
Helper IV

Eventually figured out the easy way to fix this, on the X axis changing the type from Continuous to Categorical removed all the days with 0 values.

BA_Pete
Super User
Super User

Hi @rogerdea ,

 

Have you tried adding your chart measure as a visual-level filter and seting it to [yourMeasure] is greater than 0?

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Yes i have tried filtering on records > 0 but it doesnt work.  I do have relative date filtering the past 14 days on the date axis, so could it be this forcing the 14 days regardless?  In which case i guess i will need to create a table with the 14 most recent values by date and use that as my axis.

Hi @rogerdea ,

 

When you say you have tried filtering > 0 records, do you mean you are filtering this at the table level?

My suggestion was to specifically filter at the VISUAL level. Whatever measure you have in your chart that is producing the numbers for the columns, apply the filter directly to this measure from the filter pane.

BA_Pete_0-1627020517479.png

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
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!

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.

Top Solution Authors