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
binayjethwa
Helper IV
Helper IV

Calculate dynamic measure with calculated column

Hi , 

Can soeone help me with below issue. as per pic i have my values as below.

Variance , Performance are calculated columns and weight is a measure. I need another column as Final  =  Performance * Weight_ measure 

 

When i created a calculated column i see as below. but if you see for  first row performance is 60% and weight is 5.56 so my output should be around 3.36 % but i am getting 0.65%.

 

Variance = target-actual / target

performance = 100%- Variance 

weight = count of total rows in table / 100 based on slice selection (single or multiple)

 

Can someone help here please.

 

binayjethwa_1-1672300425465.png

 

 

3 REPLIES 3
Anonymous
Not applicable

Hi @binayjethwa,

AFAIK, current you can't create dynamic calculated column based on filter effects.

They are work on different data levels, the measure dynamic calculate based on filter context parts will be fixed as static content when you use in calculated columns.

Notice: the data level of power bi(from parent to child level)

Database(external) -> query table(query, custom function, query parameters) -> data model table(table, calculate column/table) -> data view with virtual tables(measure, visual, filter, slicer)

Regards,

Xiaoxin Sheng

amitchandak
Super User
Super User

@binayjethwa , The final measure should be at row level of use group by

 

Final = Sumx(Table, [Performance] * [Weight_ measure])

 

or

 

Final = Sumx(Summarize(Table, Table[Line, Table[Item],Table[BLs], "_1", [Performance] * [Weight_ measure]), [_1])

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

@amitchandak  i see below below values if i use the DAX shared.

 

 ideally for 3e's  it should be 60 % * 5.56  %= 3.36 and not 1.80. can u please check

binayjethwa_0-1672303635661.png

 

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!

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