Forum Discussion

CarlosOlmos29's avatar
3 years ago
Solved

Generate a graph without date data on x-axis

Hello power bi community. I would like to build a graph like the one shown in the image. For this chart I need to plot a couple of values and none of them are of the date type.

Thanks for your help.

 

  • CarlosOlmos29 add following measure based on whatever is on the x-axis

     

    Measure = 
    CALCUALTE ( 
        SUM ( Table[Amount] ),
        FILTER ( ALL ( Table ), Table[Column on XAxis] <= MAX ( Table[Column on XAxis] )
    )
     

     

    Follow us on LinkedIn and  to our YouTube channel

    I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make effort to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

     

    Visit us at https://perytus.com, your one-stop shop for Power BI-related projects/training/consultancy.

1 Reply

  • CarlosOlmos29 add following measure based on whatever is on the x-axis

     

    Measure = 
    CALCUALTE ( 
        SUM ( Table[Amount] ),
        FILTER ( ALL ( Table ), Table[Column on XAxis] <= MAX ( Table[Column on XAxis] )
    )
     

     

    Follow us on LinkedIn and  to our YouTube channel

    I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make effort to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

     

    Visit us at https://perytus.com, your one-stop shop for Power BI-related projects/training/consultancy.