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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Gangasaniravi
Helper I
Helper I

Measure total issue in KPI showing as 0

Hello,

 

i am facing a issue with measure total in KPI i am getting 0 instead of -2, Please find below data.

Month-YearFTENet Movement (FTE)
Jan-2176.25 
Feb-2176.250
Mar-2175.75-0.5
Apr-2175.750
May-21760.25
Jun-2175.75-0.25
Jul-2174.75-1
Aug-2174.750
Sep-2174.750
Oct-2174.25-0.5
Nov-2174.250
Dec-2174.250
 Total-2

 

Below is the calculation for  Net Movement below

 

Headcount_Previous= CALCULATE ( sum(headcount) ,
DATEADD ([Date], -1, MONTH))
 
Net Movement = IF ( sum(headcount)
  && [Headcount_Previous],
sum(headcount) -[Headcount_Previous]
Data matching in Table but in KPI i am getting 0, Please hepl me on this.
Regards,
Ravi
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Gangasaniravi ,

This seems to be caused by an incorrect measure total. 

You can also create a measure based on [Net Movement].

result=
var _b = SUMMARIZE('table','table'[date],"aaa",'table'[Net Movement])
return
IF(HASONEVALUE('table'[date]),[Net Movement],SUMX(_b,[aaa]))

 Or you can refer to my pbix file.

vrongtiepmsft_0-1713232392587.png

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

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

1 REPLY 1
Anonymous
Not applicable

Hi @Gangasaniravi ,

This seems to be caused by an incorrect measure total. 

You can also create a measure based on [Net Movement].

result=
var _b = SUMMARIZE('table','table'[date],"aaa",'table'[Net Movement])
return
IF(HASONEVALUE('table'[date]),[Net Movement],SUMX(_b,[aaa]))

 Or you can refer to my pbix file.

vrongtiepmsft_0-1713232392587.png

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

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

 

 

 

 

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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