Reply
Arvind_123
Helper I
Helper I
Partially syndicated - Outbound

Cost Distribution %Row Total

Hi Team,

I have Device in row where month and types are in column.

the result I am getting in power bi is :

Arvind_123_0-1705657938234.png

 but I need Month wise % row distribution in types that means I need addition of 2 click and 3 click would be 100%

for example find the ouput that I need which is easily available in excel

 

Arvind_123_1-1705658067712.png

Arvind_123_2-1705658067799.png

 

Thanks,

Arvind

1 ACCEPTED SOLUTION

Syndicated - Outbound

hello @Arvind_123 

assuming that the second level pn the columns is a column from a table with values :  2 click , 3 click.

Can you please try this measure : 

measure =
var num = sum(table[col])
var denom =
calculate (
sum( table[col]) ,
allselected(table[click_col])

return
divide
( num,
denom,
0
)

 

 

let me know if it works .

 

best regards.

View solution in original post

4 REPLIES 4
Arvind_123
Helper I
Helper I

Syndicated - Outbound

Hi @Daniel29195 ,

 

Thank you so much 🙂

It works perfrctly.

 

Regards,

Arvind

Syndicated - Outbound

always happy to help 

Arvind_123
Helper I
Helper I

Syndicated - Outbound

Hi Team,

Anyone can Please help me out to reach above desire output in power bi.

 

Thanks,

Arvind

Syndicated - Outbound

hello @Arvind_123 

assuming that the second level pn the columns is a column from a table with values :  2 click , 3 click.

Can you please try this measure : 

measure =
var num = sum(table[col])
var denom =
calculate (
sum( table[col]) ,
allselected(table[click_col])

return
divide
( num,
denom,
0
)

 

 

let me know if it works .

 

best regards.

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)