Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello! I am haviong this issue on both the desktop and web versions of PowerBI. I have monthly data I want to show a trend line for, the option shows up under the analysis of the visual, but I cannot turn it to ON, if I try, it just goes back to Off each time.
The data I am showing is a measure I created which is actual a percentage of helpdesk tickets vs those where the SLA was met.
I have a trend line set up for the total incidents and that works:
And the met works as well:
But when I use the DAX to make a percentage of what ones were met, I cannot make this have a trend line.
Solved! Go to Solution.
To anyone who reads this, I made a new table and used the SummarizeColumns to make totals by the month, then did the percentage calc in the table. Used that field for my line chart and I was able to make a trend line. Woof.
Here was my code for the table
MetSLObyMonth = SUMMARIZECOLUMNS(SLO_Tickets[Year],SLO_Tickets[Month],"Incidents",sum(SLO_Tickets[IncidentCounter]),"MetSLO",sum(SLO_Tickets[MetSloCount]))
Here is my code for the percentage
MetSLOPercent = (MetSLObyMonth[MetSLO]/MetSLObyMonth[Incidents])*100
I still need to figure out how to concat the month/year properly, but this fixed my issue.
(First real report in PowerBI)
To anyone who reads this, I made a new table and used the SummarizeColumns to make totals by the month, then did the percentage calc in the table. Used that field for my line chart and I was able to make a trend line. Woof.
Here was my code for the table
MetSLObyMonth = SUMMARIZECOLUMNS(SLO_Tickets[Year],SLO_Tickets[Month],"Incidents",sum(SLO_Tickets[IncidentCounter]),"MetSLO",sum(SLO_Tickets[MetSloCount]))
Here is my code for the percentage
MetSLOPercent = (MetSLObyMonth[MetSLO]/MetSLObyMonth[Incidents])*100
I still need to figure out how to concat the month/year properly, but this fixed my issue.
(First real report in PowerBI)
I do have this set as continuous.
Make sure your X axis is set to Continuous or it won't let you turn on the trend line.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
75 | |
68 | |
41 | |
35 |
User | Count |
---|---|
102 | |
56 | |
52 | |
46 | |
40 |