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.
I have a sample table in Power BI that has repeating value for price. The objective is to return the prices for each category without summing-up all the values in row price.
Sample table:
Desired output:
Solved! Go to Solution.
hi @ironboy0418
there are many ways:
you can just plot a table visual with category and price columns. Choose min, max or average for price column.
or
plot a table visual with category columns and a measure like:
measure = MIN(TableName[Price])
or
create a calculated table like:
Table =
ADDCOLUMNS(
VALUES(TableName[Category]),
"Price",
CALCULATE(MIN(TableName[Price]))
)
hi @ironboy0418
there are many ways:
you can just plot a table visual with category and price columns. Choose min, max or average for price column.
or
plot a table visual with category columns and a measure like:
measure = MIN(TableName[Price])
or
create a calculated table like:
Table =
ADDCOLUMNS(
VALUES(TableName[Category]),
"Price",
CALCULATE(MIN(TableName[Price]))
)
Hi,
Why don't you just a table visual, add Category & Price to its Values field and then choose Average or Median in the options for aggregation?
Best Regards,
Alexander
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 | |
7 |
User | Count |
---|---|
14 | |
12 | |
11 | |
10 | |
8 |