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
MasterSonic
Helper IV
Helper IV

NO lines connecting point on line chart?

Hello,

I have 3 measurements on the line chart. I would like them to be connected with line ? Any ideas why please ?
There is date table with relationship to  Table 1,2,3. All 3 have date column with dates in all rows as per screeshot.
Total data points = DIVIDE(CALCULATE(COUNT('Table1'[Number])*112),DISTINCTCOUNT('Table1'[Attribute]))
Total data points 07 = DIVIDE(CALCULATE(COUNT('Table2'[Number])*112),DISTINCTCOUNT('Table2'[Attribute]))
Total data points 08= DIVIDE(CALCULATE(COUNT('Table3'[Number])*112),DISTINCTCOUNT('Table3'[Attribute]))

MasterSonic_0-1665076133778.png

 

1 ACCEPTED SOLUTION
v-cgao-msft
Community Support
Community Support

Hi @MasterSonic ,

 

Try to group the three tables first, and then append the three tables into a new table. 

vcgaomsft_0-1665135511232.png

then use this measure:

 

Total data points = 
DIVIDE (
    CALCULATE (
        COUNT ( 'Table'[Number] ) * 112,
        'Table'[Table] = MAX ( 'Table'[Table] )
    ),
    CALCULATE (
        DISTINCTCOUNT ( 'Table'[Attribute] ),
        'Table'[Table] = MAX ( 'Table'[Table] )
    )
)

 

The PBIX file is attached for reference.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

View solution in original post

1 REPLY 1
v-cgao-msft
Community Support
Community Support

Hi @MasterSonic ,

 

Try to group the three tables first, and then append the three tables into a new table. 

vcgaomsft_0-1665135511232.png

then use this measure:

 

Total data points = 
DIVIDE (
    CALCULATE (
        COUNT ( 'Table'[Number] ) * 112,
        'Table'[Table] = MAX ( 'Table'[Table] )
    ),
    CALCULATE (
        DISTINCTCOUNT ( 'Table'[Attribute] ),
        'Table'[Table] = MAX ( 'Table'[Table] )
    )
)

 

The PBIX file is attached for reference.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

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.

Top Solution Authors