Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello,
I created this measure to obtain the sum of my sales for the earliest date (1/02/17) in my data :
However, despite the use of ALLEXCEPT when I choose a period in my slicer, the data displayed is not the right one.
Any ideas?
Solved! Go to Solution.
Hi, @Charline_74
As I understand it, your desired result is that the value of the earliest date should be displayed regardless of which date is selected.
You can try the following formula:
At month Period-2 =
CALCULATE (
SUM ( 'KEYFIGURES_MV2 (2)'[Value] ),
FILTER ( ALL ( 'KEYFIGURES_MV2 (2)' ),
'KEYFIGURES_MV2 (2)'[ACTUAL_FLAG] = "B"
&& 'KEYFIGURES_MV2 (2)'[L_PERIOD_NAME_DATE]
= CALCULATE (
MIN ( 'KEYFIGURES_MV2 (2)'[L_PERIOD_NAME_DATE] ),
ALL ( 'KEYFIGURES_MV2 (2)' )
)
)
)
If this does not solve your problem, please provide more information.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Charline_74
As I understand it, your desired result is that the value of the earliest date should be displayed regardless of which date is selected.
You can try the following formula:
At month Period-2 =
CALCULATE (
SUM ( 'KEYFIGURES_MV2 (2)'[Value] ),
FILTER ( ALL ( 'KEYFIGURES_MV2 (2)' ),
'KEYFIGURES_MV2 (2)'[ACTUAL_FLAG] = "B"
&& 'KEYFIGURES_MV2 (2)'[L_PERIOD_NAME_DATE]
= CALCULATE (
MIN ( 'KEYFIGURES_MV2 (2)'[L_PERIOD_NAME_DATE] ),
ALL ( 'KEYFIGURES_MV2 (2)' )
)
)
)
If this does not solve your problem, please provide more information.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 60 | |
| 53 | |
| 42 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 123 | |
| 104 | |
| 44 | |
| 32 | |
| 24 |