Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I'm working on a custom waterfall chart in Power BI using a calculated table and DAX logic. I’ve managed to get most of it working correctly — including custom sorting and indexing — but I'm stuck on one last piece.
I've created a calculated table like this
WaterFall Data Table =
VAR YTD_Table =
SELECTCOLUMNS(
ROW(
"Category", "YTD Revenue",
"Amount", [1.2.Cumulative Closed Sales]
),
"Category", [Category],
"Amount", [Amount]
)
VAR NORMALISED_SALES =
ADDCOLUMNS(
SUMMARIZE(
FILTER(
'Sales Data',
'Sales Data'[Stage] IN {
"4.Submitted Proposal",
"5.Tender Evaluation",
"6.Negotiations",
"7.Verbal Award"
}
),
'Sales Data'[Opportunity Name]
),
"Category", 'Sales Data'[Opportunity Name],
"Amount",
CALCULATE(
[WaterFall Norm Sales],
'Sales Data'[Opportunity Name] = EARLIER('Sales Data'[Opportunity Name])
)
)
VAR Normalised_Sales_Final =
SELECTCOLUMNS(
NORMALISED_SALES,
"Category", [Category],
"Amount", [Amount]
)
VAR VARIENCE =
SELECTCOLUMNS(
ROW(
"Category", "Variance",
"Amount", [Variance]
),
"Category", [Category],
"Amount", [Amount]
)
VAR TARGET_VALUE = SELECTCOLUMNS(
ROW(
"Category", "Target",
"Amount", [3.2.Cumulative Target Sales]
),
"Category", [Category],
"Amount", [Amount]
)
RETURN
UNION(
YTD_Table,
Normalised_Sales_Final,VARIENCE,TARGET_VALUE
)
I also created a calculated column to dynamically sort the bars in the right order using this logic:
I have all bars showing in the right order.
"Variance" appears before "Target."
Colors and sorting are fine.
The “Target” bar is currently displayed as a total, meaning it continues from the last value in the waterfall.
But what I want is:
The “Target” bar should start from zero and rise to the Target value — not be a cumulative value based on previous bars.
Like this:
YTD Revenue → starts from 0
Projects, etc. → Project Values
Variance → shows shortfall
Target → appears independent, starting from zero to target value (like a benchmark)
Like Below is Sample Waterfall
This is What i Acheived So Far
Hi @shahrukhgaffar0,
Thank you for reaching out to Microsoft Fabric Community.
Thank you @DataNinja777 for the prompt response.
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the user for the issue worked? or let us know if you need any further assistance.
Thanks and regards,
Anjan Kumar Chippa