Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Lopez0090
Helper III
Helper III

Waterfall diagram with values extracted from multiple tables

I would like to create a waterfall diagram using data from three tables as follows.

To accomplish this, we would probably have to merge the three tables into a single table, but I don't know how to create that.

 

Below is an image of the completed waterfall diagram when April 2022 and March 2022 selected.

 

3.png

 

4.png

 

 

------------------------------------------------------------------------------------------------------------------

The data used and the relationships created are as follows.

1.png

5.png

 

 

How can I create a waterfall diagram using Table1, Table2, and Table3?
If anyone has any good ideas or methods, please let me know.

 

A sample report is also attached.

https://www.dropbox.com/s/pzdr1933huscgvl/Sample_WF.pbix?dl=0 

 

Best regards, Lopez

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Lopez0090 ,

 

You may go to Power Query Editor, use "Merge Queries" to combine the three tables:

let
    Source = Table.NestedJoin(#"Table 2", {"CustomerNum"}, #"Table 1", {"CustomerNum"}, "Table 1", JoinKind.LeftOuter),
    #"Merged Queries" = Table.NestedJoin(Source, {"CustomerNum"}, #"Table 3", {"CustomerNum"}, "Table 3", JoinKind.LeftOuter),
    #"Expanded Table 1" = Table.ExpandTableColumn(#"Merged Queries", "Table 1", {"Code", "Date"}, {"Code", "Date"}),
    #"Expanded Table 3" = Table.ExpandTableColumn(#"Expanded Table 1", "Table 3", {"Value", "Contract_date"}, {"Value.1", "Contract_date"})
in
    #"Expanded Table 3"

Eyelyn9_0-1656910662712.png

 

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

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Lopez0090 ,

 

You may go to Power Query Editor, use "Merge Queries" to combine the three tables:

let
    Source = Table.NestedJoin(#"Table 2", {"CustomerNum"}, #"Table 1", {"CustomerNum"}, "Table 1", JoinKind.LeftOuter),
    #"Merged Queries" = Table.NestedJoin(Source, {"CustomerNum"}, #"Table 3", {"CustomerNum"}, "Table 3", JoinKind.LeftOuter),
    #"Expanded Table 1" = Table.ExpandTableColumn(#"Merged Queries", "Table 1", {"Code", "Date"}, {"Code", "Date"}),
    #"Expanded Table 3" = Table.ExpandTableColumn(#"Expanded Table 1", "Table 3", {"Value", "Contract_date"}, {"Value.1", "Contract_date"})
in
    #"Expanded Table 3"

Eyelyn9_0-1656910662712.png

 

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

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors