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
Anonymous
Not applicable

Using a measure in a calculated column

Hi Everyonne, 

It's my first time using the platform please be gentle 🙂

 

I need some help using a measures in a calculated column.

 

I have 2 measures that calculate the average marks and standard deviation for student marks. I need to be able to a standard score per student calc: Standard score = (Marks - Average)/StandardDeviation.

 

My challenge is that I need the measures in the calculated to dynamically change based on the slicers. For instance if I have selected English for Grade 4 school X. I need the standard to be  calculated based on that criteria and not my entire population.

 

TIA

HopeM

4 REPLIES 4
Anonymous
Not applicable

Hello @Anonymous ,

 

Welcome to community.

 

Rather than creating a new column for Standard score, you can still create it as a DAX measure and use it anywhere in table or whereever you want. If you do like that whatever filter you apply dynamically the column also gets calculated automatically.

 

Let me know if I didn't understood your question properly.

 

Thanks,

Karthik

Anonymous
Not applicable

This is the sample data and calculation in excel

HopeM_0-1621491744906.png

 

Anonymous
Not applicable

Hi Karthik, 

Thanks for your response. 

 

I need to standard score per student based on the grade, subject... If I do this as a measure I need to aggreated this which doesn't work as desired

 

amitchandak
Super User
Super User

@Anonymous , You can not use a measure in a calculated column or you can not use slicer values in a calculated column. You have to create a new measure only.

 

You can use sumx, minx, kind of function to push calculation at desired level

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

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.