The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
Tried to show line chart year over years but showing separate months.
Below is my data table, generated using
When I did with simple trial (generated all in excel) , I could do what I want. But not sure why it does not work on full data model.
Please advise.
Update
When I changed data format in Month column as below, showing integer (after changing to whole number), not Text format, I now can see gragh i wanted.
However, how can i show x-axis column in Jan, Feb .... Not 1,2 ... ?
This seems to be very odd if changing your format solves the problem.
I would still create a new column with MMMM format and use your integer month column for sorting by. Just click on a new MMMM and change sort by option.
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column?tabs=powerbi-deskto...
In case you would still have problems with the X axis, please share some sample or additional printscreens.
Hi @Anonymous ,
Can you also show, which fields you use and how in the visual?
If you want to see the outcome as you have on lowest picture, you need to do following:
1. Put values in Y axis
2. Put Months in X axis
3. Put Year in Legend.
This should work fine.
Thats how i did for both first and second grapshs. But somehow first graph does not show like second one.
Is something wrong with date model ?
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 August 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
82 | |
63 | |
54 | |
52 |
User | Count |
---|---|
128 | |
115 | |
80 | |
65 | |
63 |