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.
Hi Experts
The following DAX measure work fine, i have two version one for upward moving values and the other for downward moving values (data points). i would like to work out the 3rd option when No movement is selected from my slicer (so basically it does not equal to either up nor downwards)
Downwards Measure
Downwards = CALCULATE ( IF ( ISBLANK ( COUNTA ( 'PMS_COMPLAINT'[MATERIAL_ID]) ), BLANK (), COUNTA ( 'PMS_COMPLAINT'[MATERIAL_ID] ) ), FILTER ( ALLSELECTED ('PMS_FINANCIAL_PDS'[ROLL12_COMPLETE_PDS_IND] ), CALCULATE('_Measures'[p-value]<=0.05 && 'PMS_FINANCIAL_PDS'[Tau 1] < 0) ) ) + 0
Upwards Measure
Upwards = CALCULATE ( IF ( ISBLANK ( COUNTA ( 'PMS_COMPLAINT'[MATERIAL_ID]) ), BLANK (), COUNTA ( 'PMS_COMPLAINT'[MATERIAL_ID] ) ), FILTER ( ALLSELECTED ('PMS_FINANCIAL_PDS'[ROLL12_COMPLETE_PDS_IND] ), CALCULATE('_Measures'[p-value]<=0.05 && 'PMS_FINANCIAL_PDS'[Tau 1] > 0) ) ) + 0
the key is the '_Measures'[p-value]<=0.05 && 'PMS_FINANCIAL_PDS'[Tau 1] > 0) part which tell you direction of movement.
Solved! Go to Solution.
I would make a measure like the one below - it should filter the opposite observations than upward and downwards:
The logic:
If either of the two is true then the row is included in the dataset.
No change = CALCULATE ( IF ( ISBLANK ( COUNTA ( 'PMS_COMPLAINT'[MATERIAL_ID]) ), BLANK (), COUNTA ( 'PMS_COMPLAINT'[MATERIAL_ID] ) ), FILTER ( ALLSELECTED ('PMS_FINANCIAL_PDS'[ROLL12_COMPLETE_PDS_IND] ), CALCULATE('_Measures'[p-value] > 0.05 || 'PMS_FINANCIAL_PDS'[Tau 1] = 0) ) ) + 0
If this works then please mark it as the solution and else please provide some more information about your issue, i.e. a small sample of the data.
I would make a measure like the one below - it should filter the opposite observations than upward and downwards:
The logic:
If either of the two is true then the row is included in the dataset.
No change = CALCULATE ( IF ( ISBLANK ( COUNTA ( 'PMS_COMPLAINT'[MATERIAL_ID]) ), BLANK (), COUNTA ( 'PMS_COMPLAINT'[MATERIAL_ID] ) ), FILTER ( ALLSELECTED ('PMS_FINANCIAL_PDS'[ROLL12_COMPLETE_PDS_IND] ), CALCULATE('_Measures'[p-value] > 0.05 || 'PMS_FINANCIAL_PDS'[Tau 1] = 0) ) ) + 0
If this works then please mark it as the solution and else please provide some more information about your issue, i.e. a small sample of the data.
All Experts
Many thanks for the excellent feedback.
Hi @Anonymous
Try.
Downwards = CALCULATE ( IF ( ISBLANK ( COUNTA ( 'PMS_COMPLAINT'[MATERIAL_ID]) ), BLANK (), COUNTA ( 'PMS_COMPLAINT'[MATERIAL_ID] ) ), FILTER ( ALLSELECTED ('PMS_FINANCIAL_PDS'[ROLL12_COMPLETE_PDS_IND] ), CALCULATE('_Measures'[p-value]<=0.05 && 'PMS_FINANCIAL_PDS'[Tau 1] = 0) ) ) + 0
Apologies for asking can anyone shed some light on
https://community.powerbi.com/t5/Desktop/Relationship-issue-with-Measure/m-p/786447#M378770
its been driving me mad.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.