The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi everyone,
Hope you all are doing well. I have a question about X/Y axis in PBI Line chart.
1. about Y axis, I have a data range from 2% to 14%, y axis only shows 0% to 10% when I reduce the size of line chart, those data who higher than 10% are still in chart but y axis range could cover the data range. My desirable chart should be like this: y range from 0% to 15%.
2. About X axis. My dataset is weekly plus month-end day dataset from 2019, we need to show the entire dataset in line chart. PBI automatically shows year only, we would like to see quarterly dates on x axis in the format of "March-31" or "2019-Q1" on the vertical direction. I tried to adjust interval, but didn't make it.
can I have your help on these?
Solved! Go to Solution.
Regarding your first question, I'm a bit confused, do you want the visualization to shrink and still show the original maximum value of the y-axis? As you can see in the image below.
Do you want the y-axis to always show 0.0065?
Regarding your second question, the following steps are for your reference.
1. Create a calculated column
endOfQuarter = EOMONTH(CALCULATE(ENDOFQUARTER(financials[Date])), 0)
2. Change the Type of the X-axis to Categorical.
Output:
If I have misunderstood you, please provide some sample data and expected results based on the sample data so that I can help you better. How to provide sample data in the Power BI Forum - Microsoft Fabric Community Or show it as a screenshot or pbix. Please remove any sensitive data in advance. If uploading pbix files please do not log into your account.
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Regarding your first question, I'm a bit confused, do you want the visualization to shrink and still show the original maximum value of the y-axis? As you can see in the image below.
Do you want the y-axis to always show 0.0065?
Regarding your second question, the following steps are for your reference.
1. Create a calculated column
endOfQuarter = EOMONTH(CALCULATE(ENDOFQUARTER(financials[Date])), 0)
2. Change the Type of the X-axis to Categorical.
Output:
If I have misunderstood you, please provide some sample data and expected results based on the sample data so that I can help you better. How to provide sample data in the Power BI Forum - Microsoft Fabric Community Or show it as a screenshot or pbix. Please remove any sensitive data in advance. If uploading pbix files please do not log into your account.
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
hi Thanks for your help. I am sorry that I didn't present it very clearly. our data is weekly data, I think I would like to change X-axis date interval only and date will match data accordingly on X-axis. so, line won't change, only change date.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.
User | Count |
---|---|
138 | |
104 | |
75 | |
60 | |
58 |
User | Count |
---|---|
260 | |
130 | |
115 | |
98 | |
79 |