Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Solved! Go to Solution.
Hi @VandanaPulluri ,
You could try the following DAX:
DownTrend =
VAR a =
COUNTA ( 'DIm_Product'[Product_ID] )
VAR b =
FILTER (
ALLSELECTED ( 'Dim_Sales'[Year_IND] ),
CALCULATE ( '_Measures'[p-value] <= 0.05 && 'Dim_Sales'[TAU 1] < 0 )
)
RETURN
CALCULATE ( SWITCH ( TRUE (), ISBLANK ( a ), BLANK (), a ), b ) + 0
Hi @VandanaPulluri ,
You could try the following DAX:
DownTrend =
VAR a =
COUNTA ( 'DIm_Product'[Product_ID] )
VAR b =
FILTER (
ALLSELECTED ( 'Dim_Sales'[Year_IND] ),
CALCULATE ( '_Measures'[p-value] <= 0.05 && 'Dim_Sales'[TAU 1] < 0 )
)
RETURN
CALCULATE ( SWITCH ( TRUE (), ISBLANK ( a ), BLANK (), a ), b ) + 0
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.