Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
I have to draw a single line chart which has different colors for values above an upper limit, a second color for values between the lower and upper limits and third color for values below lower limit.
Kind Regards,
Ashish
Hi ..
This is definitely not the best solution, but give a try. Change it to column chart and add a conditional column that have the values (Above limit, below limit, ...) and use it as legend as the picture below. Below 1 is black and above 1 is green.
Cheers,
Alaeddin
Hello, I like this idea, but how did you add the conditions?
hi there ..
Just add a new column to your dataset with a simple if statment. Let's say your threshold is 1, then it should be something like:
New column = if(column > 1 , "High" , "Low")
Then put this new column in the legend so the the bars will be colored according to the value if it's higher or lower than the threshold.
Cheers,
Alaeddin
Hello, I like this idea, but how did you add the conditions?
Hi @ashish_soni,
There are no such visual for your requriement. You can submit a requirement here. Thanks for understanding.
Best Regards,
Angelia
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 48 | |
| 46 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 32 | |
| 27 | |
| 26 |