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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
KHSK
Frequent Visitor

Sum calculation based on type of ID column in a Snapshot table for a Matrix visual

Screenshot 2025-09-24 165018.png

 

The above table has the structure similar to what I have in my table. Once I select the snapshot date, I'm expecting to see the matrix visual to display the amount based on the close year in rows and Forecast year as columns. The condition is given in the bottom right of the figure above. Need to display both row and column totals as well in both the Matrix views. Appreciate your timely help.

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

Here is an intentionally long winded version so you can see the calculation that implements your logic.  This can be optimized.

 

lbendlin_0-1758758143680.png

 

 

View solution in original post

v-kpoloju-msft
Community Support
Community Support

Hi @KHSK,

Thank you for reaching out to the Microsoft fabric community forum. Also, thanks to @lbendlin, for his inputs on this thread. I reproduced the scenario, and it worked on my end. I used my sample data and successfully implemented it. Used line chart.

outcome:

vkpolojumsft_0-1758782325951.png

I am also including .pbix file for your better understanding, please have a look into it.

Hope this clears it up. Let us know if you have any doubts regarding this. We will be happy to help.

Thank you for using the Microsoft Fabric Community Forum.

View solution in original post

4 REPLIES 4
v-kpoloju-msft
Community Support
Community Support

Hi @KHSK,

Thank you for reaching out to the Microsoft fabric community forum. Also, thanks to @lbendlin, for his inputs on this thread. I reproduced the scenario, and it worked on my end. I used my sample data and successfully implemented it. Used line chart.

outcome:

vkpolojumsft_0-1758782325951.png

I am also including .pbix file for your better understanding, please have a look into it.

Hope this clears it up. Let us know if you have any doubts regarding this. We will be happy to help.

Thank you for using the Microsoft Fabric Community Forum.

Thanks @v-kpoloju-msft , the solution worked.

lbendlin
Super User
Super User

Here is an intentionally long winded version so you can see the calculation that implements your logic.  This can be optimized.

 

lbendlin_0-1758758143680.png

 

 

KHSK
Frequent Visitor

Thanks Ibendlin, the solution worked.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors