Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
Employee
Employee

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.