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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors