Forum Discussion
How to add an indicator
Hi FBergamaschi
I'm sorry, I can't open your pbix. I've th emessgae:
Could you store it for an oldest version.
I use :
Thanks in advance
Hi FP68
I cannot do that, sorry.
Anyway the measures I wrote are just two
Volume = SUM ( Tabella[Volume] )
Hightlight =
VAR _CurrVolume = [Volume]
VAR _PYVolume = CALCULATE ( [Volume], DATEADD ( 'Date'[Date], -1, MONTH ) )
RETURN
IF (
_CurrVolume <> 0,
IF (
_CurrVolume > _PYVolume,
IF ( _PYVolume > 0, "#00FF00" ),
IF ( _CurrVolume < _PYVolume, "#FF0000" )
)
)
and then used the last measure for the background color as shown here
Hope this helps to get a solution from my post
If this helped, please consider giving kudos and mark as a solution
@me in replies or I'll lose your thread
Want to check your DAX skills? Answer my biweekly DAX challenges on the kubisco Linkedin page
Consider voting this Power BI idea
Francesco Bergamaschi
MBA, M.Eng, M.Econ, Professor of BI