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
Zabeer
Helper I
Helper I

creating relationship between two visuals from two unrelated tables

Hello everyone. I have a rather strange question.

I have two table visuals derived from two completely unrelated tables (no relationship existing between them) after applying a few slicers and filters. However, i wish to add another column to the second visual based on the 'count' column in the first visual. More details below.

 

First Visual :

 

Date             Category              Count

01/01/2020         A                      2

02/01/2020         A                      4

05/04/2020         A                      3

12/06/2020         A                      1

 

 

Second visual :

 

CUS        Hours    New column to be added = Hours * Count

abc         5              10

abc         7              28

abc         6              18

abc         3              3

 

 

Is this even possible? Is there a way to index the rows (one thing remains constant : number of rows in both the visuals)?

 

Thanks

1 ACCEPTED SOLUTION
dax
Community Support
Community Support

Hi @Zabeer , 

I think you could create an index like below, then use measure to get this result

Best Regards,
Zoe Zhi

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

2 REPLIES 2
dax
Community Support
Community Support

Hi @Zabeer , 

I think you could create an index like below, then use measure to get this result

Best Regards,
Zoe Zhi

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

amitchandak
Super User
Super User

@Zabeer , there should be some common dimension to create a correct calculation

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.