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,
I want to create a new indicator in my table to calculate the number of surveys by the year of the last survey date.
I tried to create a measure to identify the last date of the survey and then do a: calculate(count('barometrie_à_froid'[External Key]),'barometrie_à_froid'[Survey Date]=year([a year date of survey]))
But this does not work
Hi @m92240
The good practice is to first create a new calculated column that calculates the year then use it in the measure. Howeve, you may also use
=
CALCULATE (
COUNT ( 'barometrie_à_froid'[External Key] ),
ALLEXCEPT ( 'barometrie_à_froid', 'barometrie_à_froid'[Survey Date].YEAR )
)
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 |
---|---|
42 | |
26 | |
22 | |
13 | |
8 |
User | Count |
---|---|
75 | |
50 | |
47 | |
17 | |
17 |