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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Multiple Tables into a Matrix

I created multiple tables which shows values for what happened yesterday and then the prior week. (See below). I was wondering if it was possible if I can create a Matrix which just has 2 columns (Yesterday and then Last Week). And then just having the 4 values in 1 matrix. Is that possible? The values are all using a created metrics I created. Or would I be able to create a summarized table to do this easily?

 

PrivateAnalytic_0-1668112226805.png

 

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @Anonymous ,

 

If you add the values on a matrix you are abble to show them in the same table, you can do and auxiliary table with the following format:

 

MFelix_2-1668115488111.png

 

 

Then add a metric with the following code:

Matrix Measure = SWITCH(SELECTEDVALUE('Table (2)'[ID]),
1, [Accounts Created Yesterday],
2, [Signins Yesterday],
3, [Accounts Created Yesterday],
4, [Signins Last Week]
)

 

Result would be similar to the one below:

MFelix_1-1668115478405.png or

MFelix_3-1668115530111.png

 

You can then format the table has you need in order to get the better look and feel

 

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





View solution in original post

1 REPLY 1
MFelix
Super User
Super User

Hi @Anonymous ,

 

If you add the values on a matrix you are abble to show them in the same table, you can do and auxiliary table with the following format:

 

MFelix_2-1668115488111.png

 

 

Then add a metric with the following code:

Matrix Measure = SWITCH(SELECTEDVALUE('Table (2)'[ID]),
1, [Accounts Created Yesterday],
2, [Signins Yesterday],
3, [Accounts Created Yesterday],
4, [Signins Last Week]
)

 

Result would be similar to the one below:

MFelix_1-1668115478405.png or

MFelix_3-1668115530111.png

 

You can then format the table has you need in order to get the better look and feel

 

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

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.