Forum Discussion

jnpb's avatar
jnpb
Helper I
2 years ago
Solved

Line chart not displaying correctly - help!

Hi all, I've been fighting with a line chart visual for two weeks and am entirely confounded as to what the problem is with the results. The goal is: show the cumulative number of event registra...
  • Fowmy's avatar
    Fowmy
    2 years ago

    jnpb 

    I have modifed your measure, please try:

    Cumulative Registration =
    VAR SelectedProgram =
        SELECTEDVALUE ( 'DailyRegistrationCount'[Program] )
    RETURN
        IF (
            SelectedProgram = "Swim"
                && NOT ISBLANK ( SUM('DailyRegistrationCount'[RegistrationCount]) ),
            [Weekly Cumulative Registration]
        )