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

Remove data from Line chart

Hello, i hope everyone is well! Im trying to produce a line chart which cuts off where the red line is.

In May 2024, there is data in there but the data for June 2024 is 0. Is there a way to not show data with a 0 on the line chart?

 

LukeDurrant_0-1718178612737.png

 

Thanks!

2 ACCEPTED SOLUTIONS
Alex87
Solution Sage
Solution Sage

Hello,

Use this logic for your sum of Actuals

FilteredValue = 
IF (
    SUM('YourTable'[Value]) = 0,
    BLANK(),
    SUM('YourTable'[Value])
)

 




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!




View solution in original post

rajendraongole1
Super User
Super User

Hi @LukeDurrant - you can try @Alex87  suggested, alternative without creating another measure there is a way by exclude data points with a value of 0 in visual-level filters

For Sum of Actual, set it to "is not 0".

rajendraongole1_0-1718179509530.png

 

Hope it works

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

4 REPLIES 4
rajendraongole1
Super User
Super User

Hi @LukeDurrant - you can try @Alex87  suggested, alternative without creating another measure there is a way by exclude data points with a value of 0 in visual-level filters

For Sum of Actual, set it to "is not 0".

rajendraongole1_0-1718179509530.png

 

Hope it works

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Hello! This has also got me to the result i needed! Thanks for the help 🙂

Alex87
Solution Sage
Solution Sage

Hello,

Use this logic for your sum of Actuals

FilteredValue = 
IF (
    SUM('YourTable'[Value]) = 0,
    BLANK(),
    SUM('YourTable'[Value])
)

 




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!




Hi Alex, exactly what i needed! Thanks for the quick response 🙂

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!

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