The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi guys,
I have a table with values ranging from blank, 0, 100, 200.... and so forth.
I would like to create a measure that displays my how many values that are >=10000 (with a date slicer separate).
I have for now made this dax measure which works fine.
Solved! Go to Solution.
@Irwin You should close parenthesis in the first CALCULATE:
Measure =
IF (
CALCULATE (
COUNTA ( 'Table'[Row] ),
FILTER ( ALL ( 'Table'[Row] ), 'Table'[Row] >= 10000 ) )
= BLANK ()
),
0,
CALCULATE (
COUNTA ( 'Table'[Row] ),
FILTER ( ALL ( 'Table'[Row] ), 'Table'[Row] >= 10000 )
)
)
You are right of course. **bleep**... I moved those parenthesis around so much already 😉
Thank you for helping! 🙂
@Irwin You should close parenthesis in the first CALCULATE:
Measure =
IF (
CALCULATE (
COUNTA ( 'Table'[Row] ),
FILTER ( ALL ( 'Table'[Row] ), 'Table'[Row] >= 10000 ) )
= BLANK ()
),
0,
CALCULATE (
COUNTA ( 'Table'[Row] ),
FILTER ( ALL ( 'Table'[Row] ), 'Table'[Row] >= 10000 )
)
)
User | Count |
---|---|
78 | |
74 | |
42 | |
32 | |
28 |
User | Count |
---|---|
104 | |
93 | |
52 | |
50 | |
46 |