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.
I have a table that contains warehouse locations and a "last verified date". I would like to count locations that were verified during the last two weeks from today.
Thanks for your help,
NH
You can do something like this:
CALCULATE(
COUNTROWS( Table ), FILTER(Table, DATEDIFF(Table[Last Verif Date], TODAY(), DAY) <= 14) )
The FILTER argument filters down to rows whose [Last Verif Date] is within 14 days of today. You may want to change it to less than instead of less than or equal to, depending on your logic.
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 |
---|---|
110 | |
99 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |