The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 )
)
)