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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Junaid11
Helper V
Helper V

Waterfall chart based on Two tables

Hello,

I have two tables and I want to have waterfall chart based on division by ID of both tables. Both the table share similar ID. Below are my tables:

DateIDVolume
17/01/2022AB-1345356
11/01/2022AB-289643
18/01/2022AB-123574
25/01/2022AB-26379
11/01/2022AB-335855

 

DateIDVolume
11/01/2022AB-14567
25/01/2022AB-289643
11/01/2022AB-1445
25/01/2022AB-2233
17/01/2022AB-17676

I have connected them with new date table as I have few other tables so all are conected with same date table. Everything is working fine. I have used Simple Waterfall chart visual from App source. I have summed above table Volume and named it as Planned and for second table I named its volume as Planned.

I want waterfall to look like this below picture:

sdsaasasdass.PNG

But problem is when I put ID column from first table it shows only that ID data along with random planned as it is from other table similarly If I put ID from second table then it shows correct planned value but wrong actual value and actual value division as zero.

I have attached the picture as well as pix file if anybody can help whether it is possible or not.

asdasdsdsss.PNGasssasdasd.PNG

https://drive.google.com/file/d/1OEaPw191NP81sLddmz0GE2UTbrHStLMn/view?usp=sharing

Thank you

1 ACCEPTED SOLUTION

Yes, you have 2 options either you can follow the below link and use the DAX USERELATIONSHIP and use an in-active relationship.

https://www.sqlbi.com/articles/using-userelationship-in-dax/

 

Or create a separate table with unique ids from both the tables as i mentioned previously.

 

NimaiAhluwalia_0-1645706855778.png

 

For the optimization use the Filtering direction to a single side instead of both sides.

 

IF MY SOLUTION HELPED YOU PLEASE DO HIT A LIKE AND ACCEPT IT AS A SOLUTION IF IT SOLVES YOUR ERROR!

 

Regards,

Nimai Ahluwalia

 

 

View solution in original post

5 REPLIES 5
NimaiAhluwalia
Continued Contributor
Continued Contributor

Hello @Junaid11 

 

The problem you are facing is due to the relationship issue as there is no connection in the model between the ID of those 2 tables as the connection is made only from the date table.

 

NimaiAhluwalia_0-1645705656696.png

 

NimaiAhluwalia_1-1645705972970.png

 

I would not recommend the M*M as to eliminate that you can create a separate table with unique ids from both the tables.

 

IF MY SOLUTION HELPED YOU PLEASE DO HIT A LIKE AND ACCEPT IT AS A SOLUTION IF IT SOLVES YOUR ERROR!

 

Regards,

Nimai Ahluwalia

Hello @NimaiAhluwalia ,

Yes I know that but I already have realtionship with date table to which I have make relationship of all the tables. We cannot have active relationship one for date and one for ID column I guess. Is there any other solution that we can keep Date relationship among both the table as well as get the ID based waterfall chart?

Yes, you have 2 options either you can follow the below link and use the DAX USERELATIONSHIP and use an in-active relationship.

https://www.sqlbi.com/articles/using-userelationship-in-dax/

 

Or create a separate table with unique ids from both the tables as i mentioned previously.

 

NimaiAhluwalia_0-1645706855778.png

 

For the optimization use the Filtering direction to a single side instead of both sides.

 

IF MY SOLUTION HELPED YOU PLEASE DO HIT A LIKE AND ACCEPT IT AS A SOLUTION IF IT SOLVES YOUR ERROR!

 

Regards,

Nimai Ahluwalia

 

 

Hello @NimaiAhluwalia ,

I have managed to add a Bridge Table but its value is repeating in water fall chart once for planned and once for actual

you can use 

 

Table = DISTINCT(UNION(VALUES(Sheet1[ID]),VALUES(Sheet2[ID])))

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.