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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Using total value % & against row values %

Hi.

I have the below index by row and would like to create column "yellow"

 

Need to create a total 2.06 and compare on each line.

 

Not sure how to create the total value and when I do this I get all rows also the one with no data.

 

Regards Mikael

 

mikaelacksjo_0-1644780065092.png

 

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

How about this:

tomfox_1-1644947883928.png

 

TomsMeasureAverage = 
VAR _totalAverage = CALCULATE ( AVERAGE (Table10[Index] ), ALL ( Table10[Item] ) )
RETURN
MAX ( Table10[Index]) - _totalAverage      

 

Does this solve the issue? 🙂

 

/Tom

https://www.tackytech.blog

https://www.instagram.com/tackytechtom



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

View solution in original post

4 REPLIES 4
tackytechtom
Super User
Super User

Hi @Anonymous ,

 

I have a solution here:

tomfox_0-1644782361009.png

 

I created a calculated column for this:

TomsColumnAverage = 
VAR _totalAverage = AVERAGE (Table[Index] )
RETURN
Table[Index] - _totalAverage

Does this work for you? 🙂 

 

/Tom

https://www.tackytech.blog

https://www.instagram.com/tackytechtom

 



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

Anonymous
Not applicable

Hi.

I am using a calculate measure and not able to use average as above.

Hi @Anonymous ,

 

How about this:

tomfox_1-1644947883928.png

 

TomsMeasureAverage = 
VAR _totalAverage = CALCULATE ( AVERAGE (Table10[Index] ), ALL ( Table10[Item] ) )
RETURN
MAX ( Table10[Index]) - _totalAverage      

 

Does this solve the issue? 🙂

 

/Tom

https://www.tackytech.blog

https://www.instagram.com/tackytechtom



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

ALLUREAN
Solution Sage
Solution Sage

Hi, @Anonymous 

Please check this sample if understand correctly what you need.

https://www.dropbox.com/s/0925vkqy5hrslwq/Using%20total%20value%20%25%20%28allure-analytics.com%29.pbix?dl=0

 

Did I answer your question? Please Like and Mark my post as a solution if it solves your issue. Thanks.

Appreciate your Kudos !!!

https://allure-analytics.com/

https://www.youtube.com/channel/UCndD_QZVNB_JWYLEmP6KrpA

https://www.linkedin.com/company/77757292/




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


https://allure-analytics.com/
https://www.youtube.com/channel/UCndD_QZVNB_JWYLEmP6KrpA
https://www.linkedin.com/company/77757292/

Proud to be a Super User!




Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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