Forum Discussion

mmadera's avatar
mmadera
New Member
4 years ago
Solved

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. 

 

PeriodYear

Value

1

201915 000
2202012 000
6202213 000
7202218 000
2202110 000
  • Anonymous's avatar
    Anonymous
    4 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

  • Anonymous's avatar
    Anonymous
    Not 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