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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.