Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Guys,
I have a graph that i cant get to filter on the effective date on because the query is created so that it calculates the startdata backwards and adds it the day before the first date, is there a way to keep the values from the first date when applying filter on the effective date
Formula
With filter applied
Maybe with some first date or ALL min value??
Many thanks for any help!
Solved! Go to Solution.
Hi @isThatAFrog ,
I created some data:
Do you mean that in the filtered visual, the value of the current first date is the value of the first date after the filter plus the value of the day before the first date after the filter?
1. Create measure:
Measure =
var _date=
MINX(ALLSELECTED('Mobility All'),[Effective date])
var _mindate=
MAXX(
FILTER(ALL('Mobility All'),'Mobility All'[Effective date]<_date),[Effective date])
return
SUMX(
FILTER(ALLSELECTED('Mobility All'),
'Mobility All'[Effective date]<=MAX('Mobility All'[Effective date])),[MoveCalc Total])
+
SUMX(
FILTER(ALL('Mobility All'),'Mobility All'[Effective date]=_mindate),[MoveCalc Total])
2. Result:
If it doesn't meet your expectations, can you express your results in the form of pictures, we can better help you
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 @isThatAFrog ,
I created some data:
Do you mean that in the filtered visual, the value of the current first date is the value of the first date after the filter plus the value of the day before the first date after the filter?
1. Create measure:
Measure =
var _date=
MINX(ALLSELECTED('Mobility All'),[Effective date])
var _mindate=
MAXX(
FILTER(ALL('Mobility All'),'Mobility All'[Effective date]<_date),[Effective date])
return
SUMX(
FILTER(ALLSELECTED('Mobility All'),
'Mobility All'[Effective date]<=MAX('Mobility All'[Effective date])),[MoveCalc Total])
+
SUMX(
FILTER(ALL('Mobility All'),'Mobility All'[Effective date]=_mindate),[MoveCalc Total])
2. Result:
If it doesn't meet your expectations, can you express your results in the form of pictures, we can better help you
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
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
19 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
25 | |
10 | |
10 | |
9 | |
6 |