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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Lucas_Nouhaud
New Member

How to plot values to 0 in line charts using "number of"

Hello i am trying to use Line Charts to see trends on some alerts that i have in my company.

I use this data set:

Lucas_Nouhaud_0-1702461995525.png

 

I have my line charts:

Lucas_Nouhaud_2-1702463468496.png

As you can see the Host in orange never appear in July, Agust and Sept. So the line should drop to 0 and not decrease linearly like that..

I configured my line charts using the "number of host" in y axis and date year and month on the x axis.

 

Do you have some ideas to plot those values to 0 ?

 

 

1 REPLY 1
Bmejia
Solution Supplier
Solution Supplier

Add a +0 at the end of your measure or create a measure where you can add the +0 like 

CALCULATE(SUM(YourTable[Amount]))+
or
IF(ISBLANK(SUM(YourTable[Amount])), 0, SUM(YourTable[Amount])))

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.