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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
chyang0107
Helper I
Helper I

Table/Matrix visualization to show current and previous value

Hello,

 

Thanks for your time in advance. I wonder if you could provide your insights on how to make a visualization by putting two values (Total and Last Quarter) side by side (expected visualization below) using the data source(top). 

 

Thanks,

Hank

 

Data source (SQL database)

Project NameProject IDTotalPayment Payment_LastQuarterTotalExpenseExpense_LastQuarter
ABC1100806040

 

Expected visualization(either Table or Matrix)

Column NameTotal ValueValue_LastQuarter
Project NameABC 
Project ID1 
Payment10080
Expense6040
2 ACCEPTED SOLUTIONS
Jpss
Resolver II
Resolver II

Hello, 
Following is the soluition i created for you :

Jpss_0-1727765911405.png

 

here is the pbix file for your reference: Chyang0107 _sol_jpss.pbix

 

if you find this helpful, Please consider marking it as a solution.

View solution in original post

shafiz_p
Super User
Super User

Hi @chyang0107  Your expected result is not usable when there is other projects. For example, if you have other project name, DEF and all the other attributes, then how would you visualize them. For one row table as you have provided data, it is possible using power query and matrix visual. See image:

shafiz_p_1-1727779933895.png

 

 

But I think your table have many rows with many different projects. Then solution provided by @Jpss  is useful by switching values to rows in matrix visual "value option".

Hope this helps!!

 

Best Regards,
Shahariar Hafiz

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi all,thanks for the quick reply, I'll add more.

Hi @chyang0107 ,

The steps to see if the attachment meets your needs may not be the easiest, but I think it should meet your needs.

vzhouwenmsft_0-1727861361696.png

 

Best Regards,
Wenbin Zhou

 

shafiz_p
Super User
Super User

Hi @chyang0107  Your expected result is not usable when there is other projects. For example, if you have other project name, DEF and all the other attributes, then how would you visualize them. For one row table as you have provided data, it is possible using power query and matrix visual. See image:

shafiz_p_1-1727779933895.png

 

 

But I think your table have many rows with many different projects. Then solution provided by @Jpss  is useful by switching values to rows in matrix visual "value option".

Hope this helps!!

 

Best Regards,
Shahariar Hafiz

 

Hello Shahariar,

 

Thanks for the insights. You are correct the table contains multiple rows and a dropdown menu was set up for the user to select the project of interest.

 

Thanks,

Hank

 

Jpss
Resolver II
Resolver II

Hello, 
Following is the soluition i created for you :

Jpss_0-1727765911405.png

 

here is the pbix file for your reference: Chyang0107 _sol_jpss.pbix

 

if you find this helpful, Please consider marking it as a solution.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.