cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Calculating diviation between Column and Measure

Hello,

 

I'd like to ask a fairly dumb question, sorry.

 

I have a column with Amount, and I have a measure Rolling Average.

 

How can I calculate the difference between the two? I want to show the items who have the largest diviation for this month compared to the rolling average (the weird outliers basically).

should it be a column or a measure? can you just do 1 minus the other?

 

 

edit: edited the title to be more clear

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User II
Super User II

Re: Calculating diviation between amount and rolling average

you can subtract two measures or an aggregation of column e.g. SUM & a measure

I would create a new measure which would be SUM of the Amount column, and subtract that from the Rolling average measure

Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Proud to be a Datanaut!

View solution in original post

2 REPLIES 2
Highlighted
Super User II
Super User II

Re: Calculating diviation between amount and rolling average

you can subtract two measures or an aggregation of column e.g. SUM & a measure

I would create a new measure which would be SUM of the Amount column, and subtract that from the Rolling average measure

Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Proud to be a Datanaut!

View solution in original post

Highlighted
Helper III
Helper III

Re: Calculating diviation between amount and rolling average

Thank you @Stachu for your quick reply and for your solution.

Helpful resources

Announcements
May 2020 Community Highlights

May 2020 Community Highlights

It’s time for another PBI Community recap!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Top Solution Authors