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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Jcolvile
Frequent Visitor

Create measure % of sales sum

Hey All,

 

Here is the issue I have a query which contains the Stock Sku grouped by the Year, Quater displaying the Qty. Sold and Qty. Returned for these periods. Example below:

Capture.PNG

I need to create a visual which can display as the following:

 

Capture2.PNG

 

Doing the totals in the visual is easy, however when it comes to doing the percentage I am stumped. I can work out how to do the % for the sum of all the skus but not break it down individually. Any advice on how to resolve this issue? 

 

 

1 ACCEPTED SOLUTION
Sean
Community Champion
Community Champion

@Jcolvile This should work! Smiley Happy

 

% Returned = DIVIDE(SUM('Table'[Qty. Returned]), SUM('Table'[Qty. Sold]), 0)

2016-10-24 - % of Total.png

View solution in original post

2 REPLIES 2
Sean
Community Champion
Community Champion

@Jcolvile This should work! Smiley Happy

 

% Returned = DIVIDE(SUM('Table'[Qty. Returned]), SUM('Table'[Qty. Sold]), 0)

2016-10-24 - % of Total.png

Jcolvile
Frequent Visitor

@Sean

Thanks a tonne!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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