Forum Discussion
Anonymous
6 years agoNot applicable
Get date when forecast hits a certain level
Dear PowerBi community, I need to create a visual that has dam level by date and I need to forecast the date when the dam hits 60%, 40% and 25%. It has to be updated easily. The data can be found h...
amitchandak
Super User
6 years agoAnonymous , in case it is bar or line. without a legend and single measure.
Create a color measure like given below and apply conditional formatting under data color
Color sales = if([Percent] in (.6 ,.4 ,.25),"green","red") // Change as per need
In case of line too, create a bar visual and do color grouping and change to line
Refer for color formatting
https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-numbers-in-the-column
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values