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

Find the average for different ranges

Hello Everyone,

I would like to get the get the average of the %Hch. But to group the %Rej in ranges and have these values to be used. Below shows the dsplay of the data and how I would like to grop these values. 

So %Rej (0.00 to 0.2) Get the average %Hch and 

%Rej (0.21 to 0.25) Get the average %Hch.

sophtee_0-1709840920494.png

 

5 REPLIES 5
Anonymous
Not applicable

Hi @sophtee 


Here is a method for your reference:
Right-Click the field of the Column and select the new group:

vzhengdxumsft_0-1709875972578.png

Then choose the List in the Group type. 
Choose the values you want to group up, and click Group.

At last, click OK. 

vzhengdxumsft_1-1709876033763.png
And add a measure:

Measure 2 = AVERAGEX('Table','Table'[%Hch])

The result is as follow:

vzhengdxumsft_2-1709876162989.png

 

 

Here for reference:

Use grouping and binning in Power BI Desktop - Power BI | Microsoft Learn

 

Best Regards

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

@Anonymous Hello,

I tried this but use the bins to group the data at a range. I also used a meassure to calculate the average of each bin. Is there a way I can use this as a look up?

sophtee_0-1709909854353.png

For example if I have values I would like to look up data from the table above

so if I have 1.80 as %Rej it would show 70.58 %Hch.

 

Anonymous
Not applicable

Hi @sophtee 

 

what is your measure and how you group up the data?
Do you mean that if you choose 1.80(%Rej), the outcome returns the 70.58 whose %Rej(2.69) next and greater than 1.80?

 

Best Regards

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

Ashish_Mathur
Super User
Super User

Hi,

Share the download link of the PBI file with the visual that you have sown already created in the file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
lbendlin
Super User
Super User

Use PERCENTILEX.INC for the grouping.

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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.