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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.