Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello everyone!
I have a question that I couln't figure for myself.
I need to set in "DATA_CAPTURA" a specific time like "01/07/2022 to 01/07/2022". but, my "QTD_ATND_2 (it's basically a SUM) "need to be "70".
If I change my range in "DATA_CAPTURA" to 01/07/2022 to 31/07/2022 I will only get what is beetween this two values. But I need everthing that is before "31/07/2022".
Best Regards,
Daniel.
Solved! Go to Solution.
@Anonymous Try this:
VAR LastSelectedDate =
CALCULATE (
MAX ( Dates[Date] ),
ALLSELECTED ( Dates[Date] )
)
VAR Result =
CALCULATE (
[QTD_ATND_2],
Dates[Date] > LastSelectedDate
)
RETURN
Result
@Anonymous Try this:
VAR LastSelectedDate =
CALCULATE (
MAX ( Dates[Date] ),
ALLSELECTED ( Dates[Date] )
)
VAR Result =
CALCULATE (
[QTD_ATND_2],
Dates[Date] > LastSelectedDate
)
RETURN
Result
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
26 | |
19 | |
14 | |
10 |
User | Count |
---|---|
58 | |
50 | |
44 | |
19 | |
19 |