This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
New to Power BI (Accountin, excel and sql background) and I have created a dashboard with various visulisations that work fine, however I am trying to add what I think should be a very simple line graph (at least its very simple in Excel) and am getting no where
So my Data looks like
| Year | YTD July | YTD August | YTD September | YTD October | YTD November | YTD December | YTD January | YTD February | YTD March | YTD April | YTD May | YTD June |
| 2019 | 90778 | 181793 | 260838 | 344859 | 439550 | 510995 | 581320 | 666322 | 758179 | 836571 | 931289 | 1006200 |
| 2020 | 83389 | 166121 | 246566 | 335286 | 416313 | 490190 | 568448 | 649631 | 722567 | 812681 | 913323 | 1004026 |
| 2021 | 94833 | 195960 | 298034 | 379797 | 480347 | 568283 | 641808 | 730416 | 838297 | 940195 | 1055169 | 1164658 |
| 2022 | 114233 | 225107 | 347072 | 447860 | 570731 | 689867 | 782427 | 913441 | 1052326 | 1168016 | 1323358 | 1477256 |
| 2023 | 145179 | 302414 | 380051 | 380051 | 380051 | 380051 | 380051 | 380051 | 380051 | 380051 | 380051 | 380051 |
and I just want a line graph one line per year. As I said, simple in Excel (even the recommended Chart gets it right without needing to juggle anything)
The data comes from a view I created on the database, so if I need to change the format I can
Solved! Go to Solution.
select year column and unpivot other columns in PQ
Unpivot columns (Power Query) (microsoft.com)
then you can draw line graph.
you can sort by another column to rearrange the month orders.
Sort one column by another column in Power BI - Power BI | Microsoft Learn
pls see the attachment below
Proud to be a Super User!
select year column and unpivot other columns in PQ
Unpivot columns (Power Query) (microsoft.com)
then you can draw line graph.
you can sort by another column to rearrange the month orders.
Sort one column by another column in Power BI - Power BI | Microsoft Learn
pls see the attachment below
Proud to be a Super User!
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 44 | |
| 36 | |
| 23 | |
| 20 | |
| 20 |