Forum Discussion
Line Chart: Conditional Formatting
- 8 years ago
Hi Anonymous,
Currently, this feature is not supported in Power BI Desktop, you could vote this idea which has been submitted in Power BI ideas forum.
For the workaround, I have made a test that you could create two measures to get the result below.
sales1 = IF(SUM(Test[Sales])>40,BLANK(),SUM(Test[Sales]))
sales2 = IF(SUM(Test[Sales])>40,SUM(Test[Sales]),BLANK())
The line chart shows red which sales >40 and black which sales<=40.
Best Regards,
Cherry
Hi Anonymous,
Currently, this feature is not supported in Power BI Desktop, you could vote this idea which has been submitted in Power BI ideas forum.
For the workaround, I have made a test that you could create two measures to get the result below.
sales1 = IF(SUM(Test[Sales])>40,BLANK(),SUM(Test[Sales]))
sales2 = IF(SUM(Test[Sales])>40,SUM(Test[Sales]),BLANK())
The line chart shows red which sales >40 and black which sales<=40.
Best Regards,
Cherry
- Anonymous8 years agoNot applicable
works like a charm. thanks mate!
- SDheeraj8 years agoFrequent Visitor
Hi,
If you created two measures one with greater than target & lesser than target, how were you able to achieve continous line with Color formating ?
Thanks in Advance,
Sai
- jesly_ajin7 years agoHelper III
Kindly help me how to join this line as shown above. I created 2 measures for this, but the lines are not joining.
- manson1317 years agoRegular Visitor
hi,
i am new to Dax and power BI.
can share with me how this work? where do you enter the DAX code to make the two line appeared in the visual chart?
how can we create another table to record down all the points that are out of the boundary?
- Anonymous8 years agoNot applicable
Thanks Piga, will try it out!
- Anonymous5 years agoNot applicable
For getting this to work you need the x axis to be cathegorical.