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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
rjs2
Resolver I
Resolver I

Table visual from multiple tables

Hi!

 

I am trying to create a table visual based off of three tables (there is no real relationship between the tables).  I want the visual to look like this:

table.PNG

 

I can build the measures out for the YTD (already have) but not sure how to stack info from other tables ontop of each like the above pic.

 

Thanks@

 
1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

@rjs2 ,

 

You need to build relationship, if you can't build relationship straightly, you canlin to build a "bridge" table to connet to the two tables.

 

Community Support Team _ Jimmy Tao

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

8 REPLIES 8
v-yuta-msft
Community Support
Community Support

@rjs2 ,

 

You need to build relationship, if you can't build relationship straightly, you canlin to build a "bridge" table to connet to the two tables.

 

Community Support Team _ Jimmy Tao

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

 did build a bridge table, that makes sense.  I am close to a resolution on this.

 

The problem I have, I need the on seperate lines between count and dollars like the above picture.  I have even created separate tables for the original table.

 

 

 

table.PNG

 

parry2k
Super User
Super User

@rjs2 there is a way to do it but going to be painful, add another table what you want to see on rows and then use switch statement to return the respective measure value.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

not sure how to use switch statement to get the rows. 

 

If I have a table with Product A Sales to calculate count and dollars and another table of Product B Sales to calculate count and dollars, how would I build a switch to keep the count and dollars for each product on separatelines.  I have used another table to make the columns which are based off of years, which works.  I just cant get Product A count and dollars on separate lines.

I could settle with having dollars and count on the same row, but I need each product on its own row.  Each product has its own table.

 

like this:

 

Product     YTD#    YTD$

A                500      $1,000

B                250        $750

 

etc....   

how would you build the table?

@rjs2 click data table and enter the value.

 

image.png



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

No, I meant how would you build it in general.  How would you set up the table?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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