Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello!
Can someone help me write this correctly? It's about entering a value from an earlier date. I'm trying to do it using "EARLIER" but it doesn't work for me.
Solved! Go to Solution.
Hi @bjurek ,
Here are the steps you can follow:
1. Create calculated column.
Calculated Column1 =
MAXX(
FILTER(ALL('Table'),
'Table'[Shop]=EARLIER('Table'[Shop])&&
'Table'[Date]<EARLIER('Table'[Date])),[Date])
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @bjurek ,
Here are the steps you can follow:
1. Create calculated column.
Calculated Column1 =
MAXX(
FILTER(ALL('Table'),
'Table'[Shop]=EARLIER('Table'[Shop])&&
'Table'[Date]<EARLIER('Table'[Date])),[Date])
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @bjurek
Please clarify further the part that says "skip product B".
Please try
Previous Product =
MAXX (
TOPN (
1,
FILTER (
CALCULATETABLE ( ALLEXCEPT ( 'Table', 'Table'[Shop] ) ),
'Table'[Date] < EARLIER ( 'Table'[Date] )
),
'Table'[Date]
),
'Table'[Product]
)
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |