Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
80 | |
67 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |