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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors
Top Kudoed Authors