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

Inaccurate results displaying at Total

Hello Community,

I need the negative sign (-) in Pieces Out and Order shipped values to be removed. The total value displaying is not accurate as well.

 

See my measures formula:

Pieces Out = IF ( MIN ( 'Table Name'[Column] ) < 0, MIN ( 'Table Name'[Column]  ), BLANK () )
Orders Shipped = CALCULATE(SUM('Table Name'[Column] ),'Table Name'[Column]  IN {"CO"})

 

Olumeedeh_0-1657750724476.png

 

Cheers.

 

@amitchandak 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

Please have a try.

Create a measure.

measure=
var _b = SUMMARIZE('table','table'[month],"aaa",'table'[Pieces Out])
return
IF(HASONEVALUE('table'[month]),'table'[Pieces Out],SUMX(_b,[aaa]))
measure_ordershipped=
var _b = SUMMARIZE('table','table'[month],"aaa",'table'[Orders Shipped])
return
IF(HASONEVALUE('table'[month]),'table'[Orders Shipped],SUMX(_b,[aaa]))

 

I have also found a helpful post, please refer to it to see if it helps you.

Dealing with Measure Totals 

 

If it does not help, please provide your pbix file without privacy information and more details with your desired output.

 

Best Regards
Community Support Team _ Polly

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

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

Please have a try.

Create a measure.

measure=
var _b = SUMMARIZE('table','table'[month],"aaa",'table'[Pieces Out])
return
IF(HASONEVALUE('table'[month]),'table'[Pieces Out],SUMX(_b,[aaa]))
measure_ordershipped=
var _b = SUMMARIZE('table','table'[month],"aaa",'table'[Orders Shipped])
return
IF(HASONEVALUE('table'[month]),'table'[Orders Shipped],SUMX(_b,[aaa]))

 

I have also found a helpful post, please refer to it to see if it helps you.

Dealing with Measure Totals 

 

If it does not help, please provide your pbix file without privacy information and more details with your desired output.

 

Best Regards
Community Support Team _ Polly

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

 

 

Anonymous
Not applicable

Thank you

amitchandak
Super User
Super User

@Anonymous ,

 

Try like

sumx(Values(Date[Month]), Pieces Out = IF ( MIN ( 'Table Name'[Column] ) < 0, MIN ( 'Table Name'[Column] ), BLANK () ) )

 

Refer to video from Curbal- If needed

https://www.youtube.com/watch?v=ufHOOLdi_jk

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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