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
BI007
Helper I
Helper I

Calculated Column


Hello. I'll explain my problem, hope somebody will help: I have 3 Tables "Countries", "CityData" and "Finaltable".
"Countries" and "CityData" are related by city column.

As you see, there is a filter on "Filters on all pages" pane - "City" column from "Citydata" table.

BI007_0-1665173617529.png

 

I need, in third "Finaltable" table, in calculated column "Column2 Amount" to be shown the corresponding amount of selected (filtered) city.

for instance, if on "Filters on all pages" pane there is selected Milan, then 

BI007_3-1665173265794.png

 if on "Filters on all pages" pane there is selected London, then 

BI007_4-1665173333063.png

I need calculated column "Column2 Amount" and not Measure.
There will not be be more than 1 value selected in on "Filters on all pages" pane.

Thanks in advance

 

2 REPLIES 2
lukiz84
Memorable Member
Memorable Member

Hi,

 

why do you need a calculated column?

 

It doesn't work. Calculated columns are calculated during refresh of the data model and don't have a filter context.

 

This means that you can't change the value of a calculated column with slicers.

Thanks for reply. In real project, where I need the solution, peple are connected to this data model, with excel files and they are using "Column2 Amount" in tables and matrix visuals, as rows:

BI007_0-1665239738379.png

 

Besides, it's necessary to use "Column2 Amount" as filters. How can it be done?
Can't I create KPI, and than than use the values of KPI in calculted column?

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