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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Bala_Robin
Frequent Visitor

Row total percentage by category by quarter

Have a dataset with unpivoted column like this

RegionSubscriptionAttributeValue
EastBronzeQ15
EastBronzeQ23
WestBronzeQ14
WestBronzeQ26
EastSilverQ110
EastSilverQ212
WestSilverQ15
WestSilverQ22
EastGoldQ17
EastGoldQ27
WestGoldQ18
WestGoldQ29

 

 

On this by quarter data in matrix using #'s can be shown without isssues as below

SubscriptionBronzeBronzeSilverSilverGoldGold
RegionQ1Q2Q1Q2Q1Q2
East53101277
West465289

 

 

but i want to see them in % by quarter like below, how to achieve this, Kindly help 

SubscriptionBronzeBronzeSilverSilverGoldGold
RegionQ1Q2Q1Q2Q1Q2
East23%14%45%55%32%32%
West24%35%29%12%47%53%

 

5 REPLIES 5
Bala_Robin
Frequent Visitor

@Anonymous and @amitchandak  - Here is the dataset, in the description, have mentioned incorrectly

 

DatasetDataset

Anonymous
Not applicable

Hi  @Bala_Robin ,

 

Here are the steps you can follow:

1. Create measure.

Measure =
var _groupsum=
SUMX(
    FILTER(ALL('Table'),
    'Table'[Region]=MAX('Table'[Region])&&'Table'[Attribute]=MAX('Table'[Attribute])),[Value])
return
DIVIDE(
        MAX('Table'[Value]),_groupsum)

2. Result:

vyangliumsft_0-1693461396673.png

 

 

Best Regards,

Liu Yang

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

Thanks @Anonymous, in this custom sort needed (Bronze, Silver and Gold). Tried using sort order as column but that creates circular dependency and having another reference table (Bronze, Silver and Gold) with the sort order doesn't calculates the % (in fact it gives everything as 100%)

amitchandak
Super User
Super User

@Bala_Robin , Not able to get the logic. Please elaborate

 

Subtotal logic should help

 

Percent of Total and Percent of SubTotal https://www.youtube.com/watch?v=6jTildcV2ho
https://www.youtube.com/watch?v=cN8AO3_vmlY&t=24270s

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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

@amitchandak  - Dataset and desired output format given in description

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.