Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I would like to ask for help if it's possible to create a conditional format for my line visual.
Example: The top 3 line will be a BLUE (darker shade) the rest will be BLUE (lighter shade)
Thank you!
-IC
Solved! Go to Solution.
hI @icdns ,
Since in a line chart, a value field is plotted continuously, there is no segmentation for the same field.
And when the value of one field is used to draw a line chart with two fields, it will not be able to draw continuously.
Since you did not provide specific data, you can refer to the template below, the principle is the same.(Currently you mentioned that only the first three rows and the data that follows need to be in a different MEASURE)
Then for the above case, only the above goal measure is needed, and what is not a above goal would be the below goal.
So what we need is the [Sales Actual running total] and the above goal measure, the below goal measure will no longer be needed and the line will be continuous at this point.
Note that the above goal measure is below the running total.
In other words, running sales totals are "below goal" and are shown in red, and above goal measure are still shown in green.
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
hI @icdns ,
Since in a line chart, a value field is plotted continuously, there is no segmentation for the same field.
And when the value of one field is used to draw a line chart with two fields, it will not be able to draw continuously.
Since you did not provide specific data, you can refer to the template below, the principle is the same.(Currently you mentioned that only the first three rows and the data that follows need to be in a different MEASURE)
Then for the above case, only the above goal measure is needed, and what is not a above goal would be the below goal.
So what we need is the [Sales Actual running total] and the above goal measure, the below goal measure will no longer be needed and the line will be continuous at this point.
Note that the above goal measure is below the running total.
In other words, running sales totals are "below goal" and are shown in red, and above goal measure are still shown in green.
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
We have this workaround which is simple to implement
Conditional Format a line chart in Power BI - Select Distinct
@icdns , conditional color on a line visual is not possible. You can only get color markers that too when you have only one line. If you are using a legend that is also not possible
User | Count |
---|---|
73 | |
70 | |
38 | |
24 | |
23 |
User | Count |
---|---|
96 | |
94 | |
50 | |
42 | |
40 |