Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Guys, good afternoon!
I'm having difficulty creating a measurement. What I want to get is the last 3 months within the bar chart. I took a measurement, but it seems to be accumulating
CALCULATE(
[repasses Realizados],
FILTER(
ALL(d_calendario),
d_calendario[Date] >= EDATE(MAX(d_calendario[Date]), -3)
&& d_calendario[Date] <= MAX(d_calendario[Date])
)
)
I want to get the last 3 months, but without using the screen filter
How a do it?
Solved! Go to Solution.
Hi @kasife ,
You can try below measure:
CALCULATE(
[repasses Realizados],
KEEPFILTERS(
DATESINPERIOD(d_calendario[Date],EOMONTH(TODAY(),0),-3,MONTH)
)
)
The key is the KEEPFILTERS function.
If I solve your problem , pls mark my post as a solution and appreciate your Kudos !
Thank you~
Hi @kasife ,
You can try below measure:
CALCULATE(
[repasses Realizados],
KEEPFILTERS(
DATESINPERIOD(d_calendario[Date],EOMONTH(TODAY(),0),-3,MONTH)
)
)
The key is the KEEPFILTERS function.
If I solve your problem , pls mark my post as a solution and appreciate your Kudos !
Thank you~
@kasife , You can try using below measure
Last 3 Months Total =
CALCULATE(
[repasses Realizados],
DATESINPERIOD(
d_calendario[Date],
TODAY(),
-3,
MONTH
)
)
Proud to be a Super User!
User | Count |
---|---|
51 | |
33 | |
19 | |
15 | |
14 |
User | Count |
---|---|
94 | |
80 | |
37 | |
22 | |
18 |