Forum Discussion

Schoif-D's avatar
Schoif-D
Helper I
9 years ago
Solved

Waterfall Chart not using dates

Hi

 

Im very new to Power BI, literally only started playing with it yesterday, and there is a chart i use to do in excel, that i would like to replicate in Power BI, but, im finding this difficult and every help page i search on Google just shows me that the X Axis is always in a date range, i have tried to create a Pie, Bar and Donut chart then swapping to Waterfall but it doesnt work, how can i create this chart below in Power BI?

 

  • Schoif-D

    I see in your dataset, the first step should be doing a unpivot.

     

     

    Then replace the currency symbol with blank and convert that column to whole number.

     

    In the waterfall chart, use the attribute and value column.

     

    As to the axis order in the waterfall chart, check this thread Sorting Data Manually.

    Check more details in the attached pbix file.

     

  • Add columns through the query editor uses M language not DAX (click "Advanced Editor" in the query pane to see the M code)

     

    If you instead create a calculated column on the report layout page, your code is accurate.

     

    Hope this helps

    David

14 Replies

    • Sean's avatar
      Sean
      Community Champion

      EDIT: The one thing about this Chart in PBI if I recall there's no option to turn off the Total...

      • Schoif-D's avatar
        Schoif-D
        Helper I

        Hi Sean

         

        Thats how i want it to look, obviously the total is a nuisance, was this done by creating a data table in the desktop? i can give that a go see if i can connect it it my main data set im using

    • Schoif-D's avatar
      Schoif-D
      Helper I

      Hi Phil

       

      How do i upload a data file? i can see how to upload photo/video

      • Eric_Zhang's avatar
        Eric_Zhang
        Microsoft Employee

        Schoif-D wrote:

        Hi Phil

         

        How do i upload a data file? i can see how to upload photo/video


        Schoif-D

        You can upload things to a network drive(Onedrive, Dropbox etc) and then share the link.

    • Eric_Zhang's avatar
      Eric_Zhang
      Microsoft Employee

      Schoif-D

      It is great to hear you finally figured it out. If no further questions, you can accept the replies making sensing as solution to close this thread. For any new questions, you can raise another thread.:smileyhappy: