We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi all,
I need to display the start of the week being a Monday date in the x-axis. I need to add in a trend line as well so I need the type to be continuous.
My DAX is 'DateTable'[Date] - WEEKDAY('DateTable'[Date],2) +1. The +1 just shifts the label 1 spot to the left, rather than it displaying the correct week start date.
If I use +3 it just shifts it further to the left.
What I want is for the x-axis to display 03 Jul, 10 Jul, 17 Jul, 24 Jul.
Solved! Go to Solution.
Thanks Rico, the trend line option disappears when changed to categorical. I ended up not using the trend line.
Hi @Anon29 ,
As far as I know, the best for you should change the type of X axis to Categorical. I think Power BI support us to use trend line when your X axis type is Categorical.
For reference:
Use the Analytics pane in Power BI Desktop - Power BI | Microsoft Learn
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks Rico, the trend line option disappears when changed to categorical. I ended up not using the trend line.
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 38 | |
| 33 | |
| 19 | |
| 16 |
| User | Count |
|---|---|
| 67 | |
| 66 | |
| 40 | |
| 34 | |
| 25 |