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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Show full range on X-Axis of Bar Graph, even with 0 value data.

I've tried using 'Show items with no data', as well as a solution proposed in another thread:

Measure = 

  VAR __Calc = <Calculation>

RETURN

  IF(ISBLANK(__Calc),0,__Calc)

 

 

Neither of these options worked. Here is a screenshot of my calculation and screenshot.VBDA_0-1674838995356.png

This was my solution to show an hourly graph that (is supposed to) start at 6pm and end at 5am. This graph should start at 18 (6pm), but because the value for that time is 0, it's not showing up, but I need it to.

 

Thank you!

3 REPLIES 3
tamerj1
Super User
Super User

Hi @Anonymous 

please try

IF (

ISEMPTY ( 'Table' ),

0,

<calculation>
)

Anonymous
Not applicable

Hey @tamerj1 ,

Thanks for the suggestion, but it's showing the same result as when I used ISBLANK()

@Anonymous 

Apparently these records do not even exist in the data. Therefore you need a dim table that contains the full range (from 18 to 29)

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.