cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
william_weldon
New Member

Trouble creating Column to be able to produce line chart

Hi,

 

I am trying to create a line chart that shows the cumulative results of options up to the date someone has changed there option 

 

for example I have a table like the below:

 

person | reference | option | option detail | date

    1      |       1        |      1     |        food       |1/1/16

    1      |       1        |      2     |        drink      |1/1/16

    1      |       1        |      3     |        sleep      |1/1/16

    1      |       2        |      1     |        drink      |3/1/16

    1      |       2        |      2     |        sleep      |3/1/16

    1      |       2        |      3     |        food       |3/1/16

    1      |       3        |      1     |        sleep      |4/1/16

    1      |       3        |      2     |        drink      |4/1/16

    1      |       3        |      3     |        food       |4/1/16

    1      |       2        |      4     |        water      |4/1/16

    2      |       1        |      1     |        sleep      |2/1/16

    2      |       1        |      2     |        drink      |2/1/16

    2      |       1        |      3     |        food       |2/1/16

    2      |       1        |      4     |        water      |2/1/16

    2      |       2        |      1     |        sleep      |3/1/16

    2      |       2        |      2     |        drink      |3/1/16

    2      |       2        |      3     |        food       |3/1/16

 

 

so the resulting chart would essitially be line chart showing the below

                        

No of Options |    3       |     7      |      6     |     7      |

Date                | 1/1/16  | 2/1/16 | 3/1/16 | 4/1/16 |

 

 

1 REPLY 1
v-yuezhe-msft
Microsoft
Microsoft

Hi @william_weldon,

Could you please post details about that how you determine the number of options in 3/1/16 and 4/1/16?

Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors