Forum Discussion

Cesylyaa's avatar
Cesylyaa
Helper I
1 year ago
Solved

Custom Visual?

  Hello, I was given this screenshot and asked to replicate on power BI. I know this is a waterfall chart of some sort. But, is it a custom visual? How do i achieve this?   Please hel...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Thanks for the reply from BIswajit_Das , please allow me to provide another insight:

    Hi, Cesylyaa 
    Thanks for reaching out to the Microsoft fabric community forum.

    To facilitate your understanding, I have created the following test data:

    1.Create a calculated column to serve as the x-axis:

    Column =
        VAR cc = CALCULATE(
            COUNTROWS('Table'),
            FILTER(
                ALLSELECTED('Table'),
                'Table'[Date] < EARLIER('Table'[Date])
            )
        )
        RETURN
            IF(
                'Table'[Date] = DATE(2023, 12, 8),
                FORMAT(
                    DATE(2023, 12, 8),
                    "mmm.d"
                ),
                REPT(
                    " ",
                    cc
                )
            )
    

    In my tests, it was not possible to use fuction for font coloring. So it is recommended that you use the following calculation column.

    2.Modify the color at the position shown in the image below:

     

    3. Adjust the legend label position at the following location:

    4.Enter the parameters:

    5.Sort the computed column:
     

    6.Here's my final result, which I hope meets your requirements.

    7.For further details, please refer to:

    Waterfall charts in Power BI - Power BI | Microsoft Learn

    You can also try using AppSource to obtain other visual objects:

    And download examples for learning:

     

    For further details, please refer to:

    Main sources for acquiring Power BI custom visuals - Power BI | Microsoft Learn

    Please find the attached pbix relevant to the case.

     

    Best Regards,

    Leroy Lu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.