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! Learn more

Reply
Anonymous
Not applicable

Sales Mix % column showing -Infinity while inverse Column Shows %'s

Can someone please help me figure out why my % mix of negative categories is displaying "-Infinty" instead of a % while the % mix of my positive categories is displaying correctly?  

 

I have also noticed that if I filter to a period where there are more negatives than positives, the issue flip flops?  I can provide a screen shot and more info if needed.

 

Thank you for your help.

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@Anonymous ,

 

Share more detailed information if possible. You may try using DIVIDE.

 

Community Support Team _ Sam Zha
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-chuncz-msft Thank you for responding!  Here is a screen shot of the issue and then i will provide some context:

 

Bleeders and Leaders % Mix Issue.PNG

 

I have created Sales "Bleeders" and Sales "Leaders".  Bleeders represents the departments that are down based off of the YoY sales measure and leaders are based off of the departments that are up YoY in sales.  I created these columns by using the following formulas

 

Bleeders = IF([YOY Sales]<0, [YOY Sales])

Leaders = IF([YOY Sales]>0,[YOY Sales])

 

These formulas than put the negative YOY Sales in the bleeders column and the Positive YOY sales in the Leaders Column.  

 

I then Created Bleeders % Mix and Total % Mix and the same for Leaders.  The difference between the % Mix column and the Total % Mix column is one formula has "ALL" and the other has "ALLSELECTED" so If i drill down i can still see the Mix % for the specific area i drilled down on and the other remains the total % mix.

 

Bleeders % Mix = [Sales Bleeders] / CALCULATE([Sales Bleeders],ALLSELECTED(MerchandiseProduct))

Bleeders Total % Mix = [Sales Bleeders] / CALCULATE([Sales Bleeders],ALL(MerchandiseProduct))

Leaders % Mix = [Sales Leaders]/CALCULATE([Sales Leaders],ALLSELECTED(MerchandiseProduct))

Leaders Total % Mix = [Sales Leaders]/CALCULATE([Sales Leaders],ALL(MerchandiseProduct))

 

So when I was filtered on a different time frame and there were mor positive YOY Numbers, i was getting the totals to show up under the Leaders column and the "-infinty" was popping up under Bleeders.  Now that i have filtered on a timeframe that has more negative YOY numbers, the totals are under the Bleeders column and the "Infinity" numbers are under the Leaders Column.

 

Sorry i know this is long winded but i cant seem to figure this out.  Im able to formulate % Mix no problem when its being calculated from one column but once i try to seperate it out by bleeders and leaders, this is where it all comes crashing down.

 

Thanks and please let me know if you need more info

 

Anonymous
Not applicable

Here is a screen shot of a time period with more Positive YOY Sales Numbers and as you can see, "Infinty" and the blank totals has switched from Leaders to bleeders.

 

Bleeders and Leaders % Mix Issue __ -infinity.PNG

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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