Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

My line chart data points will not connect

Hi,   I have 3 seperate data tables. A data point from each of these tables is to be used on my line chart.   I have 1 extra common table, where I want my categorical axis to come from.   This ...
  • v-lid-msft's avatar
    6 years ago

    Hi Anonymous ,

     

    Are your Line chart and tables look like following? 

     

     

    We can create a measure to meet you requirement:

     

    aggreFromOtherTable = 
    SWITCH (
        SELECTEDVALUE ( 'Table'[Column1] ),
        "A", SUM ( 'Table (2)'[Column2] ),
        "B", SUM ( 'Table (3)'[Column2] ),
        "D", SUM ( 'Table (4)'[Column2] )
    )

     

     

    If it doesn't meet your requirement, kindly share your sample data and expected result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.


    BTW, pbix as attached.

     

    Best regards,

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