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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
EugeniaBochko
Advocate II
Advocate II

How to create column %of Total

Hello, colleagues!
Please advise how to create a column or measure %Time of Total like this formula in Excel?

EugeniaBochko_3-1617721337629.png

 

 

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi, @EugeniaBochko 

 

Please try to write the below measure.

 

measures =
DIVIDE (
SUM ( 'table'[Time] ),
CALCULATE ( SUM ( 'table'[Time] ), ALLSELECTED ( table ) ),
BLANK ()
)

 

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


View solution in original post

4 REPLIES 4
ryan_mayu
Super User
Super User

@EugeniaBochko 

you can try

Column = 'Table (2)'[time]/sum('Table (2)'[time])
1.PNG




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




You are right but I need to filter my data by many users and tasks and see adjusted %Time of total. Looks like the advice below is more suitable for me.

Jihwan_Kim
Super User
Super User

Hi, @EugeniaBochko 

 

Please try to write the below measure.

 

measures =
DIVIDE (
SUM ( 'table'[Time] ),
CALCULATE ( SUM ( 'table'[Time] ), ALLSELECTED ( table ) ),
BLANK ()
)

 

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


Thank you a lot! This is exactly what I needed🤗

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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