cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pradeepall4u New Member
New Member

% of Row or Col total

Hi,

 

I am trying to create a clustered col chart which shows the % of tickets created by weekday by location.

 

Actual Values
TicketsSunMonTueWedThuFriSatGrand Total
GT1216816217219074688
HN12321255712061615156815056786
IND3464305917611058145118636500
US7818035355781496310203965
Grand Total5488431569268636594172446217939
         
Calculated Values
SiteSunMonTueWedThuFriSatGrand Total
GT0%3%10%24%25%28%11%100%
HN2%3%8%18%24%23%22%100%
IND5%7%9%12%16%22%29%100%
US2%5%9%14%21%24%26%100%
Grand Total3%5%9%15%20%23%25%100%

 

Desired Output:

Capture.PNGDesired Output

 

Thanks and regards,

Pradeep

 

1 REPLY 1
Super User IV
Super User IV

Re: % of Row or Col total

[Value % of Time] =
var __currentValue = [Measure]
var __totalValueAcrossTime =
	calculate(
		[Measure],
		allselected( 'Calendar' )
	)
var __percent =
	divide( __currentValue, __totalValueAcrossTime )
return
	__percent

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors