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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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