cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Helper I

## Highlight significant changes to previous month in matrix visual

Hi, is it possible to highlight changes above e.g. 10% vs. the preceding month in a matrix visual?

The result is expected to look like this:

 January February March April Sales 10000 10500 9000 10000 variable costs 3000 3150 2500 2700 fixed costs 1000 1000 1000 1150 overhead costs 500 1200 500 500 EBIT 5500 5150 5000 5400

Thanks!

1 ACCEPTED SOLUTION
Super User

Then,  use Sum(Amount)   instead of YOURMEASURE

DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
YouTube Channel: PowerBI Storytime
5 REPLIES 5
Helper I

All numbers are in a single column and I have an attribute column ("line items")

Super User

Then,  use Sum(Amount)   instead of YOURMEASURE

DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
YouTube Channel: PowerBI Storytime
Helper I

Thanks, Olga!

yet I don't get it yet. What is [yourmeasure]?  It doesn't seem like calculate accepts a column as first argument.

My data has the following columns:

Table Facts:

[Line item]: Sales, variable costs, fixed costs, overhead costs

[Amount]: numbers listed above

[calendar]: Year and month

[EBIT]: is a calculated column

Super User

Sum(Amount) is your measure, your numbers ,what you are displaying.

line items, what do you mean, those are the values in a column? or those are separate columns?

DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
YouTube Channel: PowerBI Storytime
Super User

Format  Measure =

RETURN
If(DIVIDE([YOURMEASURE]-PrevMonth, PrevMonth)>0.1, 1,
If(DIVIDE([YOURMEAASURE]-PrevMonth, PrevMonth)<-0.1, 1,
0)
)

DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
YouTube Channel: PowerBI Storytime