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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
pescadicto_
Frequent Visitor

Calculated column using an aggregation of another column

Hello.

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

These slicers affect the table:

pescadicto__2-1657760224051.png

pescadicto__3-1657760241435.png

Example of what I want to get:

pescadicto__1-1657760183698.png

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:

 

pescadicto__4-1657761594374.png

 

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.

Thanks,

 

2 REPLIES 2
amitchandak
Super User
Super User

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.