Forum Discussion
Fill blank with values the month before
- Anonymous3 years ago
Hi LayneCobain ,
I have created a simple sample , please refer to my pbix file to see if it helps you.
Create a measure.
Measure = IF ( [pricepreviousyear measure] <> BLANK (), [pricepreviousyear measure], CALCULATE ( [pricepreviousyear measure], 'Table'[date] = EDATE ( MAX ( 'Table'[date] ), -1 ) && 'Table'[Monat product] = MAX ( 'Table'[Monat product] ), ALLEXCEPT ( 'Table', 'Table'[date] ) ) )How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ PollyIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi LayneCobain ,
I have created a simple sample , please refer to my pbix file to see if it helps you.
Create a measure.
Measure =
IF (
[pricepreviousyear measure] <> BLANK (),
[pricepreviousyear measure],
CALCULATE (
[pricepreviousyear measure],
'Table'[date] = EDATE ( MAX ( 'Table'[date] ), -1 )
&& 'Table'[Monat product] = MAX ( 'Table'[Monat product] ),
ALLEXCEPT ( 'Table', 'Table'[date] )
)
)
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.