Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance 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 |
---|---|
75 | |
75 | |
45 | |
31 | |
27 |
User | Count |
---|---|
99 | |
89 | |
52 | |
48 | |
46 |