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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Solved! Go to Solution.
your code could look something like this
Downward =
CALCULATE (
COUNTA ( 'PMS_COMPLAINT'[MATERIAL_ID] ),
FILTER ( ALL ( 'PMS_FINANCIAL_PDS' ), MAX ( [p-value] ) <= 0.05 && [TAU 1] < 0 )
) + 0
But, are '_Measures'[p-value] a variable in this measure? It is not part of the code you posted.
Hi, @Anonymous ,
Just had a look at your measure.
Are '_Measures[p-value] and 'PMS_FINANCIAL_PDS'[TAU 1] measures? It is considered best practise to reference measures without prefixing with table-names, it makes it easier to read and understand code.
Are you sure the ALLSELECTED-function is necessary? It is a tricky function: The definitive guide to ALLSELECTED
What do you want to achieve with ALLSELECT? Could it be replaced with ALL or ALLEXCEPT?
Cheers,
Sturla
your code could look something like this
Downward =
CALCULATE (
COUNTA ( 'PMS_COMPLAINT'[MATERIAL_ID] ),
FILTER ( ALL ( 'PMS_FINANCIAL_PDS' ), MAX ( [p-value] ) <= 0.05 && [TAU 1] < 0 )
) + 0
But, are '_Measures'[p-value] a variable in this measure? It is not part of the code you posted.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.