Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon'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.
Hello all,
I was wondering if anyone could help with this error? I have a table as follows
From this I created a series of measures like this
Then I wanted to make a table visual to show me the %change of FPA month to month for each product. But the previous month shows as Blank (and I've tried changing data hierchy). See visual below. I think the % change doesn't work yet because of the previous month error. I don't know if this makes a difference but my Date is the 01st of every month from 2016 to 2022.
Any help would be really appreciated
Thank you
Scarlett
Solved! Go to Solution.
Hi,
If you do not have DIM-calendar table, one of ways to achieve this is to create a measure like below.
I tried to create a sample pbix file like below, and I hope the below can provide some ideas on how to create a solution for your datamodel.
Prior month value avg: =
CALCULATE (
[Value avg:],
'Table'[Attribute]
= MAXX (
FILTER (
ALLSELECTED ( 'Table'[Attribute] ),
'Table'[Attribute] < MAX ( 'Table'[Attribute] )
),
'Table'[Attribute]
)
)
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.
Hi,
If you do not have DIM-calendar table, one of ways to achieve this is to create a measure like below.
I tried to create a sample pbix file like below, and I hope the below can provide some ideas on how to create a solution for your datamodel.
Prior month value avg: =
CALCULATE (
[Value avg:],
'Table'[Attribute]
= MAXX (
FILTER (
ALLSELECTED ( 'Table'[Attribute] ),
'Table'[Attribute] < MAX ( 'Table'[Attribute] )
),
'Table'[Attribute]
)
)
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.
Thank you so much! This worked perfectly
User | Count |
---|---|
22 | |
14 | |
11 | |
7 | |
5 |
User | Count |
---|---|
24 | |
22 | |
20 | |
15 | |
10 |