Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I would like to seek your help. I have 2 tables as per below.
Table 1 is the reference table with Bonus Range
Table 2 is the exact sales amount
I want to insert a column in Table 2 to indicate the Bonus range. Appreciate it if there are any DAX formulas that could help.
Solved! Go to Solution.
Hi,
One of ways to achieve this is to create a bonus range table like below.
I tried to create a sample pibx file, and please check the below picture and the attached pbix file.
I hope the below can provide some ideas on how to create a solution for your dataset.
Bonus range CC =
MAXX (
FILTER (
BonusRange,
Sales[Sales amount] > BonusRange[min]
&& Sales[Sales amount] <= BonusRange[max]
),
BonusRange[Bonus range]
)
Hi,
One of ways to achieve this is to create a bonus range table like below.
I tried to create a sample pibx file, and please check the below picture and the attached pbix file.
I hope the below can provide some ideas on how to create a solution for your dataset.
Bonus range CC =
MAXX (
FILTER (
BonusRange,
Sales[Sales amount] > BonusRange[min]
&& Sales[Sales amount] <= BonusRange[max]
),
BonusRange[Bonus range]
)
It helps, thank you very much
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
8 | |
6 |
User | Count |
---|---|
14 | |
13 | |
11 | |
9 | |
9 |