Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
11 | |
9 | |
6 |