Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi Expert,
I have a need to show the percentage of values in line chart.
my data in matrix looks good.
RTS% is a calculated measure. = RTS/First Departure
i wanna use line chart to present each depot RTS% - percentage as value over the last 12 month
it shows like in below, looks wrong.
can anyone please help me on this? am i using the wrong chart? if so, what type of line chart i can use? Please advise.
Appreciate 🙂
Solved! Go to Solution.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Hi, @Anonymous
It’s my pleasure to answer for you.
According to your description, I think if the data can be displayed correctly on the matrix, maybe the problem isn’t on measure.
Try to drill through the line chart using the complete date instead of just selecting year and month.
If it doesn’t solve your problem, please feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
thank you i fixed it 🙂
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
i wanna build like this line chart in power bi, in excel no problem, do you know what measure i need to create to make it work? thanks.
hi @AllisonKennedy the first departure is also a calculated measure,
RTS = sum(table(rts))
First departure =
RTS% = RTS/(Nooffirstdeparture)
no of first departure = calculate(counta(table(services),table(first departure=1)
hope it helps.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 124 | |
| 107 | |
| 80 | |
| 69 | |
| 67 |