Reply
avatar user
Anonymous
Not applicable
Partially syndicated - Outbound

Show 0 in my trendline (measure) in month June

Hello,

I should see 0 in the month of June, but as you see (blue line) - I do not see anything - the line stops in June...

 

justyna_kmiecik_0-1655135614556.png

 

 

The measure is here:

 

Incidents 2022 = CALCULATE(SUM('Issues'[Issue Y/N]),'Date Table'[Year]=MAX('Date Table'[Year]))
 
Incidents 2021 = CALCULATE(SUM('Issues'[Issue Y/N]),'Date Table'[Year]=MAX('Date Table'[Year])-1)
 
I tried to add+ 0 but it messes up my trendline...
I need to see 0 for the month of June...so far it just looks (blank) - how to replace blank with 0?
 
Incidents 2022 = CALCULATE(SUM('Issues'[Issue Y/N]),'Date Table'[Year]=MAX('Date Table'[Year]))+0
justyna_kmiecik_1-1655135747138.png

 

 
 
 
 
1 REPLY 1
ribisht17
Community Champion
Community Champion

Syndicated - Outbound

@Anonymous 

 

I am not sure why you want to have 0 there.

But if your logic is to show 0 for the present month then it will be simply,

 

If Month=Current Month then 0 else YOUR Calculation > Incidents 2021 end/This way it will just make 0 for the current month

 

Regards,

Ritesh

Mark my post as a solution if it helped you| Munde and Kudis (Ladies and Gentlemen) I like your Kudos!! !!
My YT Channel Dancing With Data !! Connect on Linkedin !!Power BI for Tableau Users 

avatar user

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)