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
NewbieJono
Post Partisan
Post Partisan

% Of total

Do you have any ideas on how I display the drill down as a percentage of the date total? e.g 

 

0-1 days - 42706 as a percentage of 42764

1-2 days 58 as a percentage of 42764

 

Capture.PNG

 

Thanks all

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @NewbieJono 

 

Thanks for the reply from @bhanu_gautam  and @AilleryO .

 

@NewbieJono , the following steps are for your reference: 

 

Sample:

vxuxinyimsft_0-1716182198268.png

 

Create a measure as follows

 

Measure = 
VAR _sum = CALCULATE(SUM('Table'[Value]), ALL('Table'))
RETURN
IF(
    ISFILTERED('Table'[Type]),
    FORMAT(SUM('Table'[Value]) / _sum, "0.00%"),
    SUM('Table'[Value])
)

 

 

Output:

vxuxinyimsft_2-1716182713898.png

 

Best Regards,
Yulia Xu

 

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

4 REPLIES 4
Anonymous
Not applicable

Hi @NewbieJono 

 

Thanks for the reply from @bhanu_gautam  and @AilleryO .

 

@NewbieJono , the following steps are for your reference: 

 

Sample:

vxuxinyimsft_0-1716182198268.png

 

Create a measure as follows

 

Measure = 
VAR _sum = CALCULATE(SUM('Table'[Value]), ALL('Table'))
RETURN
IF(
    ISFILTERED('Table'[Type]),
    FORMAT(SUM('Table'[Value]) / _sum, "0.00%"),
    SUM('Table'[Value])
)

 

 

Output:

vxuxinyimsft_2-1716182713898.png

 

Best Regards,
Yulia Xu

 

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

AilleryO
Memorable Member
Memorable Member

Hi,

 

It will look like something :

% in a day =
VAR TotalofDay = CALCULATE( [Total Qty] , ALL( 'Data Product'[Category] ) )
RETURN
DIVIDE( [Total Qty] , TotalofDay )
 
With [Total Qty] being your measure (that gives 42076 and 58) and 'Data Product'[Category] being your "slicing" value (the one that shows 0-1 day and 1-2 days).
In bold is what you need to replace with your own measures/columns.
If there are more hierachical levels on your visuals, let us know because it might change the solution to adopt.
Hope it helps, let us know
bhanu_gautam
Super User
Super User

@NewbieJono , You can create a measure to calculate the percentage of each drill down category relative to number of days and pull that measure in visualization




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






sorry what would that look like?

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.