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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Greg0ry
Helper II
Helper II

Find a median on a measuring table

Hello, I have a measurement table called "CA Usgaap+DI ADH". I can't find the median of this column.
Can you help me? In the screenshot, the “CA N” column corresponds to “CA Usgaap+DI ADH” .THANKS

Greg0ry_0-1728907761860.pngGreg0ry_1-1728907779576.png

 

3 ACCEPTED SOLUTIONS
Gabry
Super User
Super User

Hello @Greg0ry ,
you should provide more info or a pbix. What is that measure doing? Could you paste the formula?

 

To get the median you just need to do this:
Measure Median= Median('Your table'[your column])

View solution in original post

Yeah, you can't put the measure. Paste here the code for the measure CA usgap+di adh

View solution in original post

Anonymous
Not applicable

Hi @Greg0ry ,

 

As Gabry  said, you can create such measure. Based on your screenshot, it appears that you have not specified a table name or your column name does not exist. Please check.

(1)This is my test data.

vtangjiemsft_2-1729063889191.png

 

(2) We can create a measure.

test median = MEDIAN('Table'[CA N])

vtangjiemsft_1-1729063849488.png

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

View solution in original post

5 REPLIES 5
Greg0ry
Helper II
Helper II

Thank you all for your help

Anonymous
Not applicable

Hi @Greg0ry ,

 

As Gabry  said, you can create such measure. Based on your screenshot, it appears that you have not specified a table name or your column name does not exist. Please check.

(1)This is my test data.

vtangjiemsft_2-1729063889191.png

 

(2) We can create a measure.

test median = MEDIAN('Table'[CA N])

vtangjiemsft_1-1729063849488.png

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

Gabry
Super User
Super User

Hello @Greg0ry ,
you should provide more info or a pbix. What is that measure doing? Could you paste the formula?

 

To get the median you just need to do this:
Measure Median= Median('Your table'[your column])

This doesn't work with Measure Median= Median('Your table'[your column]).

Greg0ry_0-1728909590722.png

 

Yeah, you can't put the measure. Paste here the code for the measure CA usgap+di adh

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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