Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
pinfsp18
Frequent Visitor

Display Trend Line for 1 Bar Only

I have a clustered column chart with 3 bars.  I want to add a trend line to only 1 of the 3 bars.  It seems like there is only an option for a combined trend, which I cannot use, or 3 individual trends for each bar.  I only want to show the trend on 1 bar.  Is this possible?  Thanks!

8 REPLIES 8
parry2k
Super User
Super User

@pinfsp18 You need to create dummy data and send it with the expected output. Not sure what else to tell or maybe someone else can help. 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

I cannot send a file, but have provided screen shots of the table and visuals.BITrendLine2.PNGBITrendLine3.PNG

parry2k
Super User
Super User

@pinfsp18 that is to give you an idea of how you can achieve this? I don't know how your data is structured and how tables are related etc. Put something together in a pbix file and share it using one drive/google drive with the expected output.

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Sorry, I can't send the data.  But it's very simple, it's 1 table with total tickets submitted, total tickets resolved, total tickets remaining open sum by month.  I add all 4 fields to the chart and set a trend line.  But Power BI doesn't appear to have an option to only allow me to show the trend line for submitted like Excel does.  The 2 pics I attached show Power BI with 3 lines and Excel with only 1 which is what I am trying to accomplish in Power BI.  Seems simple enough, but I don't see an option to only display the one trend line I want in Power BI.

parry2k
Super User
Super User

@pinfsp18 you can create a combo chart in Power BI and for line use the following measure:

 

Line = CALCULATE ( SUM ( Table[Value] ), Table[Type] = "Submitted" )

 

Check my latest blog post Comparing Selected Client With Other Top N Clients | PeryTUS  I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

That calc gives me the sum of the submitted tickets each month and not a trend of the submitted tickets.

 

pinfsp18
Frequent Visitor

Power BI only seems to add a trend line for each bar as shown in the first chart when turning off Combine Series.  Or if I change it and turn on Combine Series it adds 1 trend line for the combination of all 3 bars.  I only want to trend one bar, the total submitted as shown in the second chart which I had to recreate in Excel.

 

BITrendLine.PNG

parry2k
Super User
Super User

@pinfsp18 not sure what you are trying to achieve? Can you share some examples?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.