Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello friends,
I need to do a card (measure), which updates every day with the current date independent to have a date filter on report.
in short, I need to make a measure with the last date and that is not dependent on a filter in the report.
Can someone help me?
Thanks a lot!
Solved! Go to Solution.
@Anonymous Hence why I did not recommend having MAX in your CALCULATE and instead use a separate measure. You can also do this:
Total Defeito =
VAR __Max = MAX(Log_Bateria[Data])
RETURN
calculate(
DISTINCTCOUNT(Log_Bateria[Equipamentos]),Log_Bateria[Status1] = "Com Defeito",
Log_Bateria[Data] = __Max) + 0
@Anonymous You can use TODAY() or MAXX(ALL('Table'),[Date])
Hello, @Greg_Deckler
I have this measure:
@Anonymous Just create a new measure with that formula. Then you could adjust your formula to be something like:
Total Defeito = CALCULATE(
DISTINCTCOUNT(Log_Bateria[Equipamentos]),Log_Bateria[Status1] = "Com Defeito", 'Table'[Date]=[Max date measure]) + 0
My data table is " Log_bateria[Data]"
I used :
@Anonymous Hence why I did not recommend having MAX in your CALCULATE and instead use a separate measure. You can also do this:
Total Defeito =
VAR __Max = MAX(Log_Bateria[Data])
RETURN
calculate(
DISTINCTCOUNT(Log_Bateria[Equipamentos]),Log_Bateria[Status1] = "Com Defeito",
Log_Bateria[Data] = __Max) + 0
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 10 | |
| 9 | |
| 7 | |
| 5 | |
| 5 |