Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Frequent Visitor

Calculated column using an aggregation of another column


This is a very simplified version of the my actual report to illustrate the problem I need help with.

These slicers affect the table:



Example of what I want to get:


I think I understand that the scope/context at the row level is only the same row, so the calculations I try to use (using lots of combinations of filter functions) didn't work. I've tried using measures, they show the correct value on visuals but were useless on calculated columns, where my attempts often ended  in circular dependencies.
In the actual case there are multiple tables related to each other, which makes things even more complicated for me. This is an example of a computed column that I can't find a solution for:




I think that the solution to the simplified case that I am presenting can lead me to solve the problems in the actual report. 

Please, I need some help.



Super User
Super User

@pescadicto_ , You can not use slicer value in a column, you have to create a measure

Thank you! My measure didn't work (details in the post), what I looking for is a workaround.

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors