Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I am trying to figure out which combination of count/filter functions to use to get my data to look at a specific date range for a job and return a count of how many times the amount is <= 25.00. Does anyone know what measure to use?
My data looks like this:
Date Job Amount
1/1/2016 A 24.00
8/1/2016 A 16.00
3/1/2017 B 40.00
7/1/2017 B 23.00
11/1/2017 B 19.00
4/1/2018 B 5.00
9/1/2018 C 40.00
3/1/2019 C 22.00
What I want it to return is:
Job Amount Less than 25
A 2
B 3
C 1
Solved! Go to Solution.
HI @Anonymous
Try following
Measure= CALCULATE ( COUNTROWS ( TableName ), TableName[Amount] <= 25 )
HI @Anonymous
Try following
Measure= CALCULATE ( COUNTROWS ( TableName ), TableName[Amount] <= 25 )
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
18 | |
15 | |
7 | |
5 |