cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Post Patron
Post Patron

Single Table Visualization, Multiple Data Tables

Hello,

 

Looking for assistance on the following scenario:

 

- Stacked Column Chart with "Values" columns from 5 different tables

  - Tables are related to a single "Vehicle Table" (see model below)

image.png

 

- When user clicks on a column in the chart, I want to show a Table visualization with details for the given records

image.png

 

- When I combine columns to the Table vis, from the 4 data tables, I get an error that there is no relationship

image.png

 

- Data Model

image.png

 

(EDIT 1: Added Photos)

(EDIT 2: Added Data Model)
(EDIT 3: Added better example)

 

4 REPLIES 4
Super User II
Super User II

@ericOnline 

a couple of things..

1) Have you made the relationship between Table 1 and Vehicles Table bi-directional for some specific reason? if not, change it to single

2) for the interaction betwen your Stacked column chart and the table visualisation to work, the date field in the chart x axis and in your table must be from your date table. Similarly, your table visual should include a row context from your Vehicle Field for the visual to filter all related tables.

3) If you have any other common fileds in your tables (name? etc..) I would suggest you create lookup tables (same principal as  the Vehicle Table) and use these in all your measures, filters, slicers..This ensures that the filter context throughout you model is consistent and allows you to do calculations across tables etc..

 

Not sure if that helps, but without seeing more details about fields used in the table visual, where they are coming from and how you have built the measures it is hard to be more precise.

It would help if you could mash up a mock sample of data representing your model with which we can work with within Desktop to provide better advice. If you can (no need for thousands of rows or all the tables even; just a representation of the data), share the Excel file (or PBIX file) via OneDrive, Google Drive, Dropbox...





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Thank you @PaulDBrown for putting some thought into this.

 

  • RE: BiDirectional Relationship:
    • I changed this back to Single direction
    • Was bi-directional while I was experimenting
  • RE: X-axis from DATE_TABLE:
    • Yes, the x-axis is from the DATE_TABLE
    • image.png
  • RE: Table visualization should have a VehicleName column:
    • It does. This column is the only common column among all 5 of the tables I want to visualize here
    • The remaining columns are UNIQUE to each respective table. This is the issue
    • image.png

I think the answer might be showing and hiding 5 Table Visualizations depending on the type of data clicked on in the column chart. 

I don't think its possible to show different tables in a single Table visualization.

Super User II
Super User II

@ericOnline 

 

Can you please share:

1) samples in table format of your data tables

2) the relatioships between these tables and any lookup/dimension tables (modeling view snapshot)

 

Thanks,

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Anyone run across a solution for this?
Thank you

Helpful resources

Announcements
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Microsoft Ignite

Microsoft Ignite with Arun Ulag

Featured Session: Drive Data Culture with Power BI- Vision, Strategy & Roadmap. Register here https://myignite.microsoft.com #MSIgnite #PowerPlatform #Power BI ​

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors