Forum Discussion
Rows separate in graph
Dear all,
I would like to know if is there any chance how to show years (2018-2022) which I have in one column in line chart graphs as separate lines? Everytime when I put column with yeat to graph it will show me just one line.
| Period | Year | Value |
1 | 2019 | 15 000 |
| 2 | 2020 | 12 000 |
| 6 | 2022 | 13 000 |
| 7 | 2022 | 18 000 |
| 2 | 2021 | 10 000 |
- Anonymous4 years ago
Hi mmadera ,
Here are the steps you can follow:
1. Create measure.
Measure = IF( HASONEVALUE('Table'[Year]),1,0)2. Result:
If I have misunderstood your meaning, please provide your desired output and your pbix without privacy information.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
2 Replies
- amitchandak
Super User
mmadera , No very clear, You can year as a legend, what would like to have on axis ?
- AnonymousNot applicable
Hi mmadera ,
Here are the steps you can follow:
1. Create measure.
Measure = IF( HASONEVALUE('Table'[Year]),1,0)2. Result:
If I have misunderstood your meaning, please provide your desired output and your pbix without privacy information.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly