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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.