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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Line Chart Showing Negative Axis

Hello Guys,

Need some help , so i have a quarter on quarter chart for a metric.
The problem is whenever i am selecting any slicer the chart shows 0 values because it doesnt has any value and also shows a negative Y axis.Prob1.JPG
Also the metric i have is this :

 

Previous Year Won Job Fee = 
var PrevYear = LEFT(MaxYear,4)-1 & "-" & RIGHT(MaxYear,4)-1
var year = [Prev YTD]
return
IF((CALCULATE(SUM('Pipeline Master'[Job Fee]), FILTER('Pipeline Master','Pipeline Master'[Status (groups)]="Won" && 'Pipeline Master'[Won FY] =year && 'Pipeline Master'[Is CGP] = "Yes"))/100000)=0,0,

//If not 0

CALCULATE(SUM('Pipeline Master'[Job Fee]), FILTER('Pipeline Master','Pipeline Master'[Status (groups)]="Won" &&'Pipeline Master'[Won FY]=year && 'Pipeline Master'[Is CGP] = "Yes"))/100000)

 

the "year" returns me "2019-2020".
Please let me know what i can do to resolve the negative axis and the 0s that are showing up. 

1 ACCEPTED SOLUTION

@Anonymous ,

 

Is there any data in column [Won FY]?

Capture.PNG 

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

It seems that condition "'Pipeline Master'[Won FY] = year" can't be met in your measure. In addtion, if you could share some sample data and give the expression of [MaxYear] I could do further analysis.

 

You can set the start point from 0 to remove the negative Y-axis.

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

@v-yuta-msftThanks for your reply.
I forgot to mention that only "year" is used the MaxYear and PrevYear are not used in this.The prevYTD gives me "2019-2020" kind of format .Also attaching the sample data.Please help.

NamePipeline DescriptionNrcc StatusBilling CurrencyFinal Proposed FeeFinal Proposed OpeExpected Recovery %Won Expected Recovery %Contact NameContact LocationClient Group NameClient NameExpertiseRevenueLocationLead GeneratorLead Converter1Lead Converter2CSLEBUL/SMEGLRMLExpected FeeWin ProbabilityWon ReasonWon Reason DescriptionJob IdCreated User NameCreated User LocationCreation DateStatusPending WithRelationship OfficeClient CityClient Contact CityClient Contact StateClient Creation DateWon Actual Pipeline Close DatePipeline CodeJob FeePRIMARY INDUSTRYPRIMARY SUB INDUSTRYSecondary IndustrySecondary SubindustryTertiary IndustryTertiary SubindustryPipeline Lost DateLost ReasonContact Relationship OfficeRSMLClient StartupClient TypeRecurring/Non-RecurringSectorHow Was the lead generatedIRC StatusNatureOfBussinessTerritoryEmail IDJob CreatedFiscal YearCreation Date MonthStatus (groups)MTBU/BUCreation_FY MonthRec/Non-RecJOB CodeFY_PeriodWon Fiscal MonthWon Fiscal Month No.Lost Fiscal MonthLost Fiscal Month No.Won FYIs CGPLost FYSME Group.1SME Group.2Expected Recovery_%Won FY PeriodLost FY PeriodProject CodeLost This YearWon This YearWonFiscalQrtLostFiscalQrtMaxCreationFiscalYearLiveFiscalQrtTYPipelineLostDatePeriodLiveDatePeriodCreated This YearPrevious Year
GRO-Tech-West-XYZ LIMITED.-1920-2Internal Audit    70 Mr. JHKMUMBAIABCAbc TelcoRisk Mumbai Parel      ₹5,200,000Medium    Mumbai Parel21 February 2020Approved MumbaiHyderabadMUMBAIMaharashtra2/6/2019 12:38:11 PM 41529         Mumbai Parel NoNew ClientRecurringFinancial Servicespast relationshipNAOrganicWest No2019-2020FebruaryLiveTECH-West11  Period 2     Yes GROTech-West70.00%   00FQ4FQ40FQ4NoOlder than 6 MonthsLast 6 Months01
GRO-Tech-West-ABC Limited-1920-2Internal Audit    70 Mr. JHJMUMBAIABCABC FinanceRisk Mumbai Parel      ₹1,800,000Medium    Mumbai Parel24 February 2020Approved MumbaiMumbaiMUMBAIMaharashtra2/6/2019 12:38:11 PM 41550         Mumbai Parel NoNew ClientRecurringFinancial Servicespast relationshipNAOrganicWest No2019-2020FebruaryLiveTECH-West11  Period 2     Yes GROTech-West70.00%   00FQ4FQ40FQ4NoOlder than 6 MonthsLast 6 Months01

@Anonymous ,

 

Is there any data in column [Won FY]?

Capture.PNG 

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

@v-yuta-msftYes it does.The sample that i shared doesnt .You can put values as "2019-2020" or same fomat.

nandukrishnavs
Community Champion
Community Champion

@Anonymous 

 

You could fix the Y axis start position as 0. Then it will not show any negative axis.

 



Did I answer your question? Mark my post as a solution!
Appreciate with a kudos
🙂


Regards,
Nandu Krishna

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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