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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
TheHerkules
Regular Visitor

Create a visual using multiple tables?

Hi all!

 

In my case, I have to create a visual showing the content of multiple, unconnected tables. How do I have to write dataViewMappings to achieve that?

 

For simplicity, let's assume the number of tables and the number and kind of columns is fixed (e.g. take a sales timeline from table A, customer billing dates from table B and show them on a common time axis).

 

Hope for help,

 

. Jörg

1 ACCEPTED SOLUTION

@TheHerkules,

 

You may use ADDCOLUMNS Function to add a calculated column to distinguish data from multiple tables. As for dataViewMappings, it is also a great challenge to me.

Community Support Team _ Sam Zha
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

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@TheHerkules,

 

You may consider using UNION Function in DAX to create a new table.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-chuncz-msft thank you for your quick response.

 

Does it mean accessing multiple tables is not possible?

 

In case of a union, how can I distinguish which value comes from where when displaying the two time axes? Can I do a union even in case the tables have no columns in common?

How would the dataViewMappings would look like in that case? Categorial? Table? Matrix? (BTW, is there some documentation about 'matrix' somewhere?)

 

Thank you again,

 

. Jörg

 

 

@TheHerkules,

 

You may use ADDCOLUMNS Function to add a calculated column to distinguish data from multiple tables. As for dataViewMappings, it is also a great challenge to me.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.