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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
sophtee
Helper I
Helper I

Look up a binning column to provide the average

Hello everyone,

I would like to look up a group of values and get the average %Hch from which group this data falls in.

So far, in table 1, I grouped the %Rej using binning (this is the table I would like to look up) and the measure show the average of grouped %Rej.

sophtee_1-1709911859999.png

sophtee_0-1709911759804.png

Now in table 2 I when I get %Rej I would like to look up the data in T1 and fill in the value:

example if %Rej in T2 = 0.91 it would show 72.99 %Hch

 

2 REPLIES 2
Anonymous
Not applicable

Hi @sophtee ,

From your description, it looks like you are trying to group %Rej values using the bin feature in Power BI, and then use those bins to find and calculate the average %Hch of the corresponding values in another table.

 

Make sure there is a relationship between Table 1 and Table 2 based on the %Rej field or a related classification that is consistent with your bin. If a direct relationship based on %Rej is not possible due to binning, consider creating a supporting table that explicitly maps %Rej values to bin categories.

 

Given the complexity of your requirements, can you provide more details on how you set up the boxes and any relationships between the tables:

  • How did you construct the boxes in Table 1? 
  • Is there a direct or indirect relationship between Table 1 and Table 2 in your model?

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Ada Wang

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

lbendlin
Super User
Super User

Usually you would do that via Percentilex.  but your bins look ... interesting...

 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.