Reply
Bala_Robin
Frequent Visitor
Partially syndicated - Outbound

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

Syndicated - Outbound

@v-yangliu-msft and @amitchandak  - Here is the dataset, in the description, have mentioned incorrectly

 

DatasetDataset

v-yangliu-msft
Community Support
Community Support

Syndicated - Outbound

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

Syndicated - Outbound

Thanks @v-yangliu-msft, 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

Syndicated - Outbound

@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.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Syndicated - Outbound

@amitchandak  - Dataset and desired output format given in description

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)