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'm trying to create a measure that will count the number of rows in a sheet by week. What's the best way to do this?
FYI, my sheet has both a "date" (10/1/18, 10/2/18, 10/3/18, etc.) column and a "week of year" column (201840, 201841, 201842, etc.).
Thank you!
Solved! Go to Solution.
Hi @Anonymous
You may refer to below measure:
Measure = CALCULATE ( COUNTROWS ( 'Table' ), FILTER ( ALL ( 'Table' ), 'Table'[Week of Year] = MAX ( 'Table'[Week of Year] ) ) )
Regards,
Cherie
Hi @Anonymous
You may refer to below measure:
Measure = CALCULATE ( COUNTROWS ( 'Table' ), FILTER ( ALL ( 'Table' ), 'Table'[Week of Year] = MAX ( 'Table'[Week of Year] ) ) )
Regards,
Cherie
Hi,
Confusing question. Try the COUNTROWS() function in a measure.
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 |
---|---|
113 | |
97 | |
80 | |
69 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |