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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.